Skip to content

Commit

Permalink
Fix CI running wrong cargo version
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon authored Oct 17, 2024
1 parent ae55eb8 commit a61dcda
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,16 @@ jobs:
- name: Configure CI cache
uses: Swatinem/rust-cache@v2

- name: Build
run: cargo build --all-targets

- name: Run tests
uses: actions-rs/cargo@v1
if: matrix.toolchain != 'nightly'
with:
command: test
args: --all-targets --no-fail-fast

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets
run: cargo test --all-targets --no-fail-fast

- name: Run tests with code coverage
uses: actions-rs/cargo@v1
if: matrix.toolchain == 'nightly'
with:
command: test
args: --all-targets --no-fail-fast
run: cargo test --all-targets --no-fail-fast
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
Expand Down

0 comments on commit a61dcda

Please sign in to comment.