Using devbox instead of github action dependencies #72
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing web_rtc | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install devbox | |
uses: jetify-com/devbox-install-action@v0.11.0 | |
with: | |
enable-cache: 'true' | |
- name: Set up cargo cache | |
uses: actions/cache@v4 | |
continue-on-error: false | |
with: | |
path: | | |
~/target-common | |
key: cargo-build-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
cargo-build | |
- name: Run cargo_build | |
run: devbox run -- make build_cli | |
- name: Search directories | |
run: | | |
ls -la | |
find . -name target-common | |
# cargo_test: | |
# runs-on: ubuntu-latest | |
# needs: build | |
# steps: | |
# - name: Checkout branch | |
# uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 0 | |
# - name: Install devbox | |
# uses: jetify-com/devbox-install-action@v0.11.0 | |
# with: | |
# enable-cache: 'true' | |
# - name: Set up cargo cache | |
# uses: actions/cache@v4 | |
# continue-on-error: false | |
# with: | |
# path: | | |
# ~/target-common | |
# key: cargo-test-${{ hashFiles('**/Cargo.lock') }} | |
# restore-keys: | | |
# cargo-test | |
# cargo-build | |
# - name: Run cargo_test | |
# run: devbox run -- make cargo_test | |
# - name: Search directories | |
# run: | | |
# ls -la | |
# find . -name target-common | |
# make_test: | |
# runs-on: ubuntu-latest | |
# needs: build | |
# steps: | |
# - name: Checkout branch | |
# uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 0 | |
# - name: Install devbox | |
# uses: jetify-com/devbox-install-action@v0.11.0 | |
# with: | |
# enable-cache: 'true' | |
# - name: Set up cargo cache | |
# uses: actions/cache@v4 | |
# continue-on-error: false | |
# with: | |
# path: | | |
# ~/target-common | |
# key: cargo-make_test-${{ hashFiles('**/Cargo.lock') }} | |
# restore-keys: | | |
# cargo-make_test | |
# cargo-build | |
# - name: Run make_test | |
# run: devbox run -- make make_test |