Skip to content

Commit

Permalink
CI: fix ci not running on all targets
Browse files Browse the repository at this point in the history
fixes #390
  • Loading branch information
Sharktheone committed Feb 27, 2024
1 parent 83d1e12 commit 7d7d80d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}-${{ matrix.rust_version }}
- name: Build
run: cargo build --verbose
run: cargo build --verbose --all --all-features

test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}-${{ matrix.rust_version }}
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose --all --no-fail-fast --all-features --all-targets

clippy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}-${{ matrix.rust_version }}
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
run: cargo clippy --all --tests -- -D warnings

fmt:
runs-on: ubuntu-latest
Expand All @@ -120,4 +120,4 @@ jobs:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}-stable
- name: Run fmt
run: cargo fmt -- --check
run: cargo fmt --check --all

0 comments on commit 7d7d80d

Please sign in to comment.