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
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: Swatinem/rust-cache@v2
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --all-targets
|
run: cargo build --all-targets
|
||||||
|
|
||||||
@@ -69,9 +66,9 @@ jobs:
|
|||||||
uses: cocogitto/cocogitto-action@v3
|
uses: cocogitto/cocogitto-action@v3
|
||||||
with:
|
with:
|
||||||
check: true
|
check: true
|
||||||
# Only check commits reachable from the latest tag so that old
|
# Only check commits since conventional commits were adopted.
|
||||||
# non-conventional commits in history do not fail the check.
|
# 9b602f7 is the last commit before the first conventional commit.
|
||||||
from_latest_tag: true
|
from: 9b602f70a60e5651771ae40a934a7d417d9e1214
|
||||||
|
|
||||||
deny:
|
deny:
|
||||||
name: Cargo deny
|
name: Cargo deny
|
||||||
@@ -84,14 +81,14 @@ jobs:
|
|||||||
uses: EmbarkStudios/cargo-deny-action@v2
|
uses: EmbarkStudios/cargo-deny-action@v2
|
||||||
|
|
||||||
msrv:
|
msrv:
|
||||||
name: MSRV (1.80)
|
name: MSRV (1.88)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust 1.80
|
- name: Install Rust 1.88
|
||||||
uses: dtolnay/rust-toolchain@1.80
|
uses: dtolnay/rust-toolchain@1.88
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: Swatinem/rust-cache@v2
|
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"
|
description = "A command line tool for interacting with the Docker Registry API"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/anthonyoteri/dredge"
|
repository = "https://github.com/anthonyoteri/dredge"
|
||||||
rust-version = "1.80"
|
rust-version = "1.88"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
keywords = [
|
keywords = [
|
||||||
"docker",
|
"docker",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ allow = [
|
|||||||
"MIT",
|
"MIT",
|
||||||
"Apache-2.0",
|
"Apache-2.0",
|
||||||
"Unicode-3.0",
|
"Unicode-3.0",
|
||||||
|
"MPL-2.0",
|
||||||
|
"BSD-3-Clause",
|
||||||
]
|
]
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user