Skip to content

Commit

Permalink
fix(ci): fix test cmd, cache cmd can't take a dir
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Mar 29, 2024
1 parent 783ff10 commit 7b3ac1f
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: snarkos-test

- name: Checkout snarkOS
uses: actions/checkout@v4
with:
repository: AleoNet/snarkOS
path: snarkos
path: ../snarkos

- name: Checkout snarkVM
uses: actions/checkout@v4
with:
repository: AleoNet/snarkVM
path: snarkvm
path: ../snarkvm

- name: Use mold linker
uses: rui314/setup-mold@v1
Expand All @@ -55,20 +53,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: snarkos-test

- name: Checkout snarkOS
uses: actions/checkout@v4
with:
repository: AleoNet/snarkOS
path: snarkos
path: ../snarkos

- name: Checkout snarkVM
uses: actions/checkout@v4
with:
repository: AleoNet/snarkVM
path: snarkvm
path: ../snarkvm

- name: Use mold linker
uses: rui314/setup-mold@v1
Expand All @@ -85,7 +81,6 @@ jobs:
- uses: taiki-e/install-action@nextest

- name: Run tests
working-directory: ./snarkos-test
env:
RUSTFLAGS: -Zcodegen-backend=cranelift
run: cargo +nightly nextest --all --verbose
run: cargo +nightly nextest run --all --verbose --fail-fast

0 comments on commit 7b3ac1f

Please sign in to comment.