diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24ddc07..7f1c1cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,9 +27,9 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master + uses: dtolnay/rust-toolchain@d5e4d57b030548f435d0befec15ff413a2c60eff # 1.100.0 with: - toolchain: 1.98.0 + toolchain: 1.100.0 components: clippy, rustfmt - name: Cache cargo @@ -56,9 +56,9 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master + uses: dtolnay/rust-toolchain@d5e4d57b030548f435d0befec15ff413a2c60eff # 1.100.0 with: - toolchain: 1.98.0 + toolchain: 1.100.0 - name: Cache cargo uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2 diff --git a/.github/workflows/release-sign-tarball.yml b/.github/workflows/release-sign-tarball.yml index d4f8ba6..c28e8da 100644 --- a/.github/workflows/release-sign-tarball.yml +++ b/.github/workflows/release-sign-tarball.yml @@ -111,9 +111,9 @@ jobs: ref: ${{ needs.resolve-tag.outputs.tag }} - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master + uses: dtolnay/rust-toolchain@d5e4d57b030548f435d0befec15ff413a2c60eff # 1.100.0 with: - toolchain: 1.98.0 + toolchain: 1.100.0 - name: Build release archive run: ./scripts/package-lxc.sh diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index d9192d7..b92b7c7 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -28,9 +28,9 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master + uses: dtolnay/rust-toolchain@d5e4d57b030548f435d0befec15ff413a2c60eff # 1.100.0 with: - toolchain: 1.98.0 + toolchain: 1.100.0 - name: Cache cargo uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ba58df0..0431efb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ cargo fmt --all -- --check cargo clippy --all-targets --locked -- -D warnings ``` -CI pins the toolchain to `1.98.0`; the workspace's declared MSRV floor (`rust-version` in `Cargo.toml`) is `1.89`. +CI pins the toolchain to `1.100.0`; the workspace's declared MSRV floor (`rust-version` in `Cargo.toml`) is `1.89`. If you touch the `Dockerfile` or the container entrypoint, `ci.yml`'s `container-guard` job also builds the image and asserts that config/state file paths (`/etc/unifimcp/controllers.json`, `/var/lib/unifimcp/tokens.json`, `/var/lib/unifimcp/changesets.json`) survive an operator overriding `--host` at the CMD layer. You can reproduce the build locally with: diff --git a/Dockerfile b/Dockerfile index c4399f6..f222ba5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # Pinned to the multi-arch image index digest resolved on 2026-09-29 (covers # both linux/amd64 and linux/arm64; buildx picks the matching manifest for # whichever platform it is building under --platform). -FROM rust:1.99-slim-trixie@sha256:1a939748a7cbab172de91a014e3804a97af1394a8c844faa67fce9401c4e40fb AS builder +FROM rust:1.100-slim-trixie@sha256:6f14b2b4b278ec0d50aa1d69541c304ce0f95e0f6268487aa9924af1c2e9aebe AS builder WORKDIR /build