Skip to content

Commit

Permalink
Verify MSRV in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robamler committed Oct 20, 2024
1 parent a33c181 commit e448ead
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ jobs:
RUSTFLAGS: "-D warnings"
run: cargo test --release

- name: "Install cargo-msrv"
uses: taiki-e/install-action@v2
with:
tool: cargo-msrv

- name: "Verify minimum supported rust version (MSRV)"
run: cargo msrv verify -- cargo check --all-features

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

- name: "Install cargo-msrv"
uses: taiki-e/install-action@v2
with:
tool: cargo-msrv

- name: "Verify minimum supported rust version (MSRV)"
run: cargo msrv --log-level debug --output-format json verify -- cargo check --all-features
- name: Test `no_std` compatibility
shell: bash
working-directory: ensure_no_std
Expand Down

0 comments on commit e448ead

Please sign in to comment.