From 40497ea0a85cb74572041c02cc3f98d4d10ced8c Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Fri, 15 Nov 2024 11:14:35 +0100 Subject: [PATCH 1/4] Add MSRV check to CI --- .github/workflows/ci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ce6df94b..ae0b8193 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.70.0 + components: "clippy" + - run: cargo fetch + - name: cargo clippy + run: cargo clippy --all-targets --all-features -- -D warnings + test: name: Test strategy: From bcc31a784cd2bcd16b7213db708894d3de56d669 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Fri, 15 Nov 2024 11:15:36 +0100 Subject: [PATCH 2/4] Make msrv check required --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ae0b8193..fe00111d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -244,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" From 28123d49a50eeb4d9929f125e70af6652105c629 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Fri, 15 Nov 2024 11:16:42 +0100 Subject: [PATCH 3/4] Bump MSRV to 1.74.0 --- .github/workflows/ci.yaml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fe00111d..bf5e3fb4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.70.0 + toolchain: 1.74.0 components: "clippy" - run: cargo fetch - name: cargo clippy diff --git a/Cargo.toml b/Cargo.toml index 9ff0fda5..0b4b232b 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.74.0" [badges] maintenance = { status = "actively-developed" } From 9e3a23eb0a2c620b2dad8d3be8c2e7290c28c2ca Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Fri, 15 Nov 2024 11:17:52 +0100 Subject: [PATCH 4/4] Bump MSRV to 1.81.0 --- .github/workflows/ci.yaml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bf5e3fb4..18bb306a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.74.0 + toolchain: 1.81.0 components: "clippy" - run: cargo fetch - name: cargo clippy diff --git a/Cargo.toml b/Cargo.toml index 0b4b232b..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.74.0" +rust-version = "1.81.0" [badges] maintenance = { status = "actively-developed" }