diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afde30fb..1934d05e 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@1919c4a95903d2c33e4a221102edca87309fc14b # 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@f1e22816d6c9bd35f0d18e25a624b05b40865824 # cargo-hack + - uses: taiki-e/install-action@88d9f9562f8b818c3547ffb63d403044226d2852 # just + - uses: taiki-e/install-action@3b728f3d612841223d50b6bc8f2addad110e6918 # 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@f1e22816d6c9bd35f0d18e25a624b05b40865824 # cargo-hack + - uses: taiki-e/install-action@88d9f9562f8b818c3547ffb63d403044226d2852 # just + - uses: taiki-e/install-action@3b728f3d612841223d50b6bc8f2addad110e6918 # 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@d1e6bd1bee0dddc3e024611f4f9f475b0b2578e5 # 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@f1e22816d6c9bd35f0d18e25a624b05b40865824 # cargo-hack + - uses: taiki-e/install-action@3b728f3d612841223d50b6bc8f2addad110e6918 # 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@88d9f9562f8b818c3547ffb63d403044226d2852 # just + - uses: taiki-e/install-action@3b728f3d612841223d50b6bc8f2addad110e6918 # 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: