mirror of
https://github.com/anthonyoteri/dredge.git
synced 2026-06-05 15:26:53 -04:00
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:
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user