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

Verify MSRV in CI #61

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ jobs:
RUSTFLAGS: "-D warnings"
run: cargo test --release

- name: "Install cargo-msrv"
uses: taiki-e/install-action@v2
if: matrix.os != 'windows-latest' # work around https://github.com/foresterre/cargo-msrv/issues/1036
with:
tool: cargo-msrv

- name: "Verify minimum supported rust version (MSRV)"
if: matrix.os != 'windows-latest' # work around https://github.com/foresterre/cargo-msrv/issues/1036
run: cargo msrv verify -- cargo check --all-features

- name: Test `no_std` compatibility
shell: bash
working-directory: ensure_no_std
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ jobs:
RUSTFLAGS: "-D warnings"
run: cargo test --release

- name: "Install cargo-msrv"
uses: taiki-e/install-action@v2
if: matrix.os != 'windows-latest' # work around https://github.com/foresterre/cargo-msrv/issues/1036
with:
tool: cargo-msrv

- name: "Verify minimum supported rust version (MSRV)"
if: matrix.os != 'windows-latest' # work around https://github.com/foresterre/cargo-msrv/issues/1036
run: cargo msrv verify -- cargo check --all-features

- name: Test `no_std` compatibility
shell: bash
working-directory: ensure_no_std
Expand Down
Loading