Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure MSRV CI job overrides the active Rust version #165

Merged
merged 2 commits into from
Aug 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.42.0)
name: Build (MSRV)
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
Expand All @@ -60,20 +60,26 @@ jobs:
with:
toolchain: "1.42.0"
profile: minimal
override: true

- name: Compile
run: cargo build --verbose

# skip tests because dev dependencies have a higher MSRV than boba 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-minimal-versions:
Expand Down