From 4180b76d9bca8143b02e66241bf0f2685e99ea86 Mon Sep 17 00:00:00 2001 From: Anthony Oteri <4360016+anthonyoteri@users.noreply.github.com> Date: Wed, 13 May 2026 14:36:13 -0400 Subject: [PATCH] fix: resolve remaining CI check failures - cargo deny: add MPL-2.0 and BSD-3-Clause to allow list (colored via simple_logger/mockito; encoding_rs via reqwest) - conventional commits: use explicit SHA of last pre-conventional commit instead of from_latest_tag (no tags exist yet in the repo) - MSRV: raise rust-version 1.80 -> 1.88 to match the actual minimum required by the dependency tree (simple_logger -> time 0.3 -> 1.88) - MSRV CI: update toolchain pin to 1.88 to match - macOS test: remove Swatinem/rust-cache from test matrix job to avoid stale cache corrupting the cargo binary path on arm64 runners --- .github/workflows/ci.yml | 15 ++++++--------- Cargo.toml | 2 +- deny.toml | 2 ++ 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18e8b07..3f4744f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - - name: Cache dependencies - uses: Swatinem/rust-cache@v2 - - name: Build run: cargo build --all-targets @@ -69,9 +66,9 @@ jobs: uses: cocogitto/cocogitto-action@v3 with: check: true - # Only check commits reachable from the latest tag so that old - # non-conventional commits in history do not fail the check. - from_latest_tag: true + # Only check commits since conventional commits were adopted. + # 9b602f7 is the last commit before the first conventional commit. + from: 9b602f70a60e5651771ae40a934a7d417d9e1214 deny: name: Cargo deny @@ -84,14 +81,14 @@ jobs: uses: EmbarkStudios/cargo-deny-action@v2 msrv: - name: MSRV (1.80) + name: MSRV (1.88) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Install Rust 1.80 - uses: dtolnay/rust-toolchain@1.80 + - name: Install Rust 1.88 + uses: dtolnay/rust-toolchain@1.88 - name: Cache dependencies uses: Swatinem/rust-cache@v2 diff --git a/Cargo.toml b/Cargo.toml index dd0089e..a2af83a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ authors = ["Anthony Oteri"] description = "A command line tool for interacting with the Docker Registry API" readme = "README.md" repository = "https://github.com/anthonyoteri/dredge" -rust-version = "1.80" +rust-version = "1.88" license = "MIT OR Apache-2.0" keywords = [ "docker", diff --git a/deny.toml b/deny.toml index 26a56a3..79dc20e 100644 --- a/deny.toml +++ b/deny.toml @@ -17,6 +17,8 @@ allow = [ "MIT", "Apache-2.0", "Unicode-3.0", + "MPL-2.0", + "BSD-3-Clause", ] # ---------------------------------------------------------------------------