Skip to content

Commit

Permalink
fix(ci): missing components
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Apr 5, 2024
1 parent 2b15d32 commit 5bfcd5f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ jobs:
- name: ☁️ Install Nightly
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-04-01
components: rustc-codegen-cranelift-preview
components: rustfmt

- name: 🫙 Cache
uses: Swatinem/rust-cache@v2
Expand All @@ -84,7 +83,7 @@ jobs:

- name: 📋 Format Check
working-directory: ./snarkos-test
run: cargo +nightly-2024-04-01 fmt -- --check
run: cargo +nightly fmt -- --check

test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -114,7 +113,7 @@ jobs:
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-04-01
components: rustc-codegen-cranelift-preview
components: rustc-codegen-cranelift-preview clippy

- name: 🫙 Cache
uses: Swatinem/rust-cache@v2
Expand All @@ -134,16 +133,16 @@ jobs:
RUSTFLAGS: -Zcodegen-backend=cranelift
run: cargo +nightly-2024-04-01 clippy --all --all-targets -- -D warnings

- name: 🧪 Test
- name: 📋 Check Unused Deps
if: always()
working-directory: ./snarkos-test
env:
RUSTFLAGS: -Zcodegen-backend=cranelift
run: cargo +nightly-2024-04-01 nextest run --all --verbose --fail-fast
run: cargo machete

- name: 📋 Check Unused Deps
- name: 🧪 Test
if: always()
working-directory: ./snarkos-test
env:
RUSTFLAGS: -Zcodegen-backend=cranelift
run: cargo machete
run: cargo +nightly-2024-04-01 nextest run --all --verbose --fail-fast

0 comments on commit 5bfcd5f

Please sign in to comment.