diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afde30fb..8d423060 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@b725eda525362e7cf34af9a7243cac1e3f01a7ec # 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@8cca0918f8471c33515202b73f56ab27f2bed283 # 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@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master with: toolchain: nightly-2026-09-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@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # 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@cac6346340546319497bf24d4d54239150229f11 # cargo-hack + - uses: taiki-e/install-action@0b9b9918bdc27c79ace95f4fa7a1b589074acb63 # just + - uses: taiki-e/install-action@9252097d36d2d3618ad98f5d873696a962b6897c # 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@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # 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@cac6346340546319497bf24d4d54239150229f11 # cargo-hack + - uses: taiki-e/install-action@0b9b9918bdc27c79ace95f4fa7a1b589074acb63 # just + - uses: taiki-e/install-action@9252097d36d2d3618ad98f5d873696a962b6897c # 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@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # 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@0e2bf4f9b6d26ffa61b50f640b26684368f2056e # 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@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # 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@cac6346340546319497bf24d4d54239150229f11 # cargo-hack + - uses: taiki-e/install-action@9252097d36d2d3618ad98f5d873696a962b6897c # 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@b725eda525362e7cf34af9a7243cac1e3f01a7ec # 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@0b9b9918bdc27c79ace95f4fa7a1b589074acb63 # just + - uses: taiki-e/install-action@9252097d36d2d3618ad98f5d873696a962b6897c # nextest - name: Cache Soteria toolchain uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9b80f08..4ddc1380 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@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable - name: Install cargo release uses: taiki-e/install-action@5ebac0d9522d786674368e47e92963ba13f2c376 # v2 with: