Skip to content

Commit

Permalink
Merge pull request #160 from artichoke/lopopolo/ci-msrv-toolchain-ove…
Browse files Browse the repository at this point in the history
…rride

Ensure MSRV CI job overrides the active Rust version
  • Loading branch information
lopopolo authored Aug 15, 2022
2 parents 6cb4150 + 76c3d91 commit c070c04
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: cargo test --no-default-features

build-msrv:
name: Build (1.47.0)
name: Build (MSRV)
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
Expand All @@ -60,20 +60,26 @@ jobs:
with:
toolchain: "1.47.0"
profile: minimal
override: true

- name: Compile
run: cargo build --verbose

# skip tests because dev dependencies have a higher MSRV than rand_mt does.
- name: Compile tests
if: false
run: cargo test --no-run

- name: Test
if: false
run: cargo test

- name: Test with all features
if: false
run: cargo test --all-features

- name: Test with no default features
if: false
run: cargo test --no-default-features

rust:
Expand Down

0 comments on commit c070c04

Please sign in to comment.