Skip to content

Commit

Permalink
ci: enforce MSRV for all features
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWiederhake committed Sep 30, 2024
1 parent 3b2ee2b commit 162055d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ jobs:
## * using the 'stable' toolchain is necessary to avoid "unexpected '--filter-platform'" errors
RUSTUP_TOOLCHAIN=stable cargo fetch --locked --quiet
RUSTUP_TOOLCHAIN=stable cargo tree --no-dedupe --locked -e=no-dev --prefix=none ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} | grep -vE "$PWD" | sort --unique
- name: Build
# We must restrict the feature-set for running the tests, but we must also ensure that all code *compiles*, even the code that cannot be run on this platform.
run: cargo build --all-features -p uucore -p coreutils --quiet
env:
RUSTFLAGS: "-Awarnings"
RUST_BACKTRACE: "1"
- name: Test
run: cargo nextest run --hide-progress-bar --profile ci ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} -p uucore -p coreutils
env:
Expand Down

0 comments on commit 162055d

Please sign in to comment.