diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2258116..2f95d22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,14 +17,14 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable with: components: rustfmt, clippy - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0 with: key: partition-${{ matrix.partition }} - name: Install just, cargo-hack, and cargo-sync-rdme - uses: taiki-e/install-action@v2 + uses: taiki-e/install-action@ed67fa35ac944f3a9b33f12c4dd43b6f31a47e20 # v2 with: tool: just,cargo-hack,cargo-sync-rdme - name: Lint (clippy) @@ -35,7 +35,7 @@ jobs: run: just rustdoc # Pin to a specific nightly for compatibility with cargo-sync-rdme. - name: Install nightly toolchain for cargo-sync-rdme - uses: dtolnay/rust-toolchain@master + uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c # master with: toolchain: nightly-2026-04-30 - name: Regenerate readmes @@ -56,15 +56,15 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c # master with: toolchain: ${{ matrix.rust-version }} - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0 with: key: partition-${{ matrix.partition }} - - uses: taiki-e/install-action@cargo-hack - - uses: taiki-e/install-action@just - - uses: taiki-e/install-action@nextest + - uses: taiki-e/install-action@fef5094247815f3787f4c6d320bf21888e296a41 # cargo-hack + - uses: taiki-e/install-action@b2d7a22120f6c55439b8d33833c992172e0b083d # just + - uses: taiki-e/install-action@b265f9a422509a38f0c716115e5f17af22dfc631 # nextest - name: Build run: just powerset --partition ${{ matrix.partition }}/10 build - name: Run tests @@ -86,15 +86,15 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c # master with: toolchain: ${{ matrix.rust-version }} - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0 with: key: partition-${{ matrix.partition }}-msrv - - uses: taiki-e/install-action@cargo-hack - - uses: taiki-e/install-action@just - - uses: taiki-e/install-action@nextest + - uses: taiki-e/install-action@fef5094247815f3787f4c6d320bf21888e296a41 # cargo-hack + - uses: taiki-e/install-action@b2d7a22120f6c55439b8d33833c992172e0b083d # just + - uses: taiki-e/install-action@b265f9a422509a38f0c716115e5f17af22dfc631 # nextest - name: Build run: just powerset --partition ${{ matrix.partition }}/10 build # We don't run UI tests on the MSRV since compiler output varies by @@ -118,11 +118,11 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c # master with: toolchain: ${{ matrix.rust-version }} - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0 - - uses: taiki-e/install-action@cross + - uses: taiki-e/install-action@f8d6f839d6544345199e12fd1e692165b256fdc1 # cross - name: Check run: cross check --target thumbv7em-none-eabi --no-default-features -p iddqd @@ -153,15 +153,15 @@ jobs: MIRIFLAGS: ${{ matrix.miri-flags }} steps: - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c # master with: toolchain: nightly components: miri - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0 with: key: miri-${{ matrix.aliasing-model }} - - uses: taiki-e/install-action@cargo-hack - - uses: taiki-e/install-action@nextest + - uses: taiki-e/install-action@fef5094247815f3787f4c6d320bf21888e296a41 # cargo-hack + - uses: taiki-e/install-action@b265f9a422509a38f0c716115e5f17af22dfc631 # nextest # Run tests for all crates containing unsafe code. Currently, that's just # iddqd. - name: Run tests @@ -174,12 +174,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0 with: key: soteria - - uses: taiki-e/install-action@just - - uses: taiki-e/install-action@nextest + - uses: taiki-e/install-action@b2d7a22120f6c55439b8d33833c992172e0b083d # just + - uses: taiki-e/install-action@b265f9a422509a38f0c716115e5f17af22dfc631 # nextest # Soteria publishes only a single rolling `nightly` bundle, and `cargo # soteria setup` always installs whatever the tag points to. The cache # below is mainly for speed -- it (unfortunately) doesn't provide any diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9b80f0..f9ac67f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - uses: rust-lang/crates-io-auth-action@v1 id: auth - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable - name: Install cargo release uses: taiki-e/install-action@5ebac0d9522d786674368e47e92963ba13f2c376 # v2 with: