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
This commit is contained in:
Anthony Oteri
2026-05-13 14:36:13 -04:00
parent f55c72aa34
commit d37ca2de44
3 changed files with 9 additions and 10 deletions
+6 -9
View File
@@ -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
+1 -1
View File
@@ -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",
+2
View File
@@ -17,6 +17,8 @@ allow = [
"MIT",
"Apache-2.0",
"Unicode-3.0",
"MPL-2.0",
"BSD-3-Clause",
]
# ---------------------------------------------------------------------------