diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ce6df94b..18bb306a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: @@ -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" diff --git a/Cargo.toml b/Cargo.toml index 9ff0fda5..3700748e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" }