Skip to content

Commit

Permalink
Add MSRV check to CI (#721)
Browse files Browse the repository at this point in the history
Resolves: #720
  • Loading branch information
Jake-Shadle authored Nov 15, 2024
1 parent 13140f7 commit f0d1733
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ jobs:
- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings

msrv:
name: MSRV check
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.81.0
components: "clippy"
- run: cargo fetch
- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings

test:
name: Test
strategy:
Expand Down Expand Up @@ -231,6 +244,6 @@ jobs:

test_success:
runs-on: ubuntu-22.04
needs: [typos, lint, test, self, publish-check, doc-book]
needs: [typos, lint, test, self, publish-check, doc-book, msrv]
steps:
- run: echo "All test jobs passed"
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ homepage = "https://github.com/EmbarkStudios/cargo-deny"
categories = ["development-tools::cargo-plugins"]
keywords = ["cargo", "license", "spdx", "ci", "advisories"]
exclude = ["docs/", "examples/", ".github/", "tests"]
rust-version = "1.70.0"
rust-version = "1.81.0"

[badges]
maintenance = { status = "actively-developed" }
Expand Down

0 comments on commit f0d1733

Please sign in to comment.