Skip to content

Commit

Permalink
Merge pull request #61 from bamler-lab:verify-msrv
Browse files Browse the repository at this point in the history
Verify MSRV in CI
  • Loading branch information
robamler authored Oct 20, 2024
2 parents a33c181 + 65a089f commit 394d67f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
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

0 comments on commit 394d67f

Please sign in to comment.