diff --git a/.github/workflows/bump-version-rust.yml b/.github/workflows/bump-version-rust.yml index b1f1266..da97661 100644 --- a/.github/workflows/bump-version-rust.yml +++ b/.github/workflows/bump-version-rust.yml @@ -33,30 +33,30 @@ jobs: steps: - id: generate_token name: Generate a GitHub App token - uses: tibdex/github-app-token@0914d50df753bbc42180d982a6550f195390069f + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: ref: main fetch-depth: 0 - name: Install stable Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: stable - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: stable-ubuntu-latest timeout-minutes: 5 - name: Install cargo-release - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cargo-release diff --git a/.github/workflows/check-github-actions.yml b/.github/workflows/check-github-actions.yml index 47acbe1..503be47 100644 --- a/.github/workflows/check-github-actions.yml +++ b/.github/workflows/check-github-actions.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Lint GitHub Actions workflow files uses: raven-actions/actionlint@d6c9e3222b489401880e866bc6715049773b63a3 with: diff --git a/.github/workflows/check-markdown.yml b/.github/workflows/check-markdown.yml index d6907fb..8584c29 100644 --- a/.github/workflows/check-markdown.yml +++ b/.github/workflows/check-markdown.yml @@ -16,6 +16,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Check Markdown file formatting run: npx --yes "prettier@${{ inputs.prettier_version }}" --check --debug-check --color --prose-wrap always -- ${{ inputs.files }} diff --git a/.github/workflows/check-rust-beta.yml b/.github/workflows/check-rust-beta.yml index a9e5c19..8dd5737 100644 --- a/.github/workflows/check-rust-beta.yml +++ b/.github/workflows/check-rust-beta.yml @@ -15,15 +15,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Install beta Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: beta - name: Set override to beta Rust run: rustup override set beta - name: Install cargo-nextest - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cargo-nextest - name: Compile tests diff --git a/.github/workflows/check-rust-miri.yml b/.github/workflows/check-rust-miri.yml index 82c0970..a91fe4f 100644 --- a/.github/workflows/check-rust-miri.yml +++ b/.github/workflows/check-rust-miri.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Install nightly Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: nightly components: miri diff --git a/.github/workflows/check-rust.yml b/.github/workflows/check-rust.yml index 1ce3e24..a765c75 100644 --- a/.github/workflows/check-rust.yml +++ b/.github/workflows/check-rust.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Install nightly Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: nightly components: rustfmt @@ -29,14 +29,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Install stable Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: stable components: clippy - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: stable-ubuntu-latest timeout-minutes: 5 @@ -61,18 +61,18 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Install stable Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: stable - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: stable-${{ matrix.platform }} timeout-minutes: 5 - name: Install cargo-nextest - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cargo-nextest - name: Compile tests @@ -90,16 +90,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - id: msrv name: Get MSRV from package metadata run: awk -F '"' '/rust-version/{ print "version=" $2 }' Cargo.toml >> "$GITHUB_OUTPUT" - name: Install ${{ steps.msrv.outputs.version }} Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: ${{ steps.msrv.outputs.version }} - name: Install nightly Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: nightly - name: Resolve minimal dependency versions instead of maximum @@ -107,12 +107,12 @@ jobs: - name: Set override to MSRV Rust run: rustup override set ${{ steps.msrv.outputs.version }} - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: msrv-ubuntu-latest timeout-minutes: 5 - name: Install cargo-nextest - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cargo-nextest - name: Compile tests diff --git a/.github/workflows/check-spelling.yml b/.github/workflows/check-spelling.yml index dbd7bb9..a7e7f16 100644 --- a/.github/workflows/check-spelling.yml +++ b/.github/workflows/check-spelling.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Check files for common misspellings # NOTE: dependabot struggles with determining the latest release version # in this monorepo; see https://github.com/crate-ci/typos/releases - uses: crate-ci/typos@7c89b528fdb59c3cdee63aa37cd51e786786f3ed + uses: crate-ci/typos@5edf45b39e546b1ff8af3ee205d68969434d8138 with: files: "${{ inputs.files }}" diff --git a/.github/workflows/deploy-github-pages-rust.yml b/.github/workflows/deploy-github-pages-rust.yml index 3093c65..5768eaf 100644 --- a/.github/workflows/deploy-github-pages-rust.yml +++ b/.github/workflows/deploy-github-pages-rust.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Install nightly Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: nightly - name: Build docs diff --git a/.github/workflows/detect-changed-files.yml b/.github/workflows/detect-changed-files.yml index 36b4a9b..4af3160 100644 --- a/.github/workflows/detect-changed-files.yml +++ b/.github/workflows/detect-changed-files.yml @@ -37,7 +37,7 @@ jobs: rust_files: ${{ steps.filter.outputs.rust_files }} steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: fetch-depth: 20 - name: Filter changed repository files diff --git a/.github/workflows/draft-release-rust.yml b/.github/workflows/draft-release-rust.yml index a9bd10f..7310659 100644 --- a/.github/workflows/draft-release-rust.yml +++ b/.github/workflows/draft-release-rust.yml @@ -26,7 +26,7 @@ jobs: url: ${{ steps.gh_release.outputs.url }} steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - id: gh_release name: Create a new GitHub draft release uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 @@ -70,23 +70,23 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Install musl tools if: matrix.os == 'ubuntu-latest' run: sudo apt-get install -y musl-tools - name: Install stable Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: stable targets: ${{ matrix.target }} - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: stable-ubuntu-latest timeout-minutes: 5 - name: Install cross if: matrix.os == 'ubuntu-latest' - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cross - name: Building release assets diff --git a/.github/workflows/flush-caches.yml b/.github/workflows/flush-caches.yml index 4f9f3d0..2e9b208 100644 --- a/.github/workflows/flush-caches.yml +++ b/.github/workflows/flush-caches.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Delete all GitHub Actions cache entries for the current branch env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/preload-caches-rust.yml b/.github/workflows/preload-caches-rust.yml index e5f35e3..37fd45d 100644 --- a/.github/workflows/preload-caches-rust.yml +++ b/.github/workflows/preload-caches-rust.yml @@ -25,18 +25,18 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: Install stable Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: stable - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: stable-${{ matrix.platform }} timeout-minutes: 5 - name: Install cargo-nextest - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cargo-nextest - name: Check packages and dependencies for errors @@ -48,16 +48,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - id: msrv name: Get MSRV from package metadata run: awk -F '"' '/rust-version/{ print "version=" $2 }' Cargo.toml >> "$GITHUB_OUTPUT" - name: Install ${{ steps.msrv.outputs.version }} Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: ${{ steps.msrv.outputs.version }} - name: Install nightly Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: nightly - name: Resolve minimal dependency versions instead of maximum @@ -65,12 +65,12 @@ jobs: - name: Set override to MSRV Rust run: rustup override set ${{ steps.msrv.outputs.version }} - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: msrv-ubuntu-latest timeout-minutes: 5 - name: Install cargo-nextest - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cargo-nextest - name: Check packages and dependencies for errors diff --git a/.github/workflows/publish-crate.yml b/.github/workflows/publish-crate.yml index 35c2b0c..310aede 100644 --- a/.github/workflows/publish-crate.yml +++ b/.github/workflows/publish-crate.yml @@ -19,23 +19,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: fetch-depth: 0 - name: Install stable Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: stable - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: stable-ubuntu-latest timeout-minutes: 5 - name: Install cargo-release - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cargo-release diff --git a/.github/workflows/tag-untagged-releases-rust.yml b/.github/workflows/tag-untagged-releases-rust.yml index ab633f9..bffee0f 100644 --- a/.github/workflows/tag-untagged-releases-rust.yml +++ b/.github/workflows/tag-untagged-releases-rust.yml @@ -26,31 +26,31 @@ jobs: steps: - id: generate_token name: Generate a GitHub App token - uses: tibdex/github-app-token@0914d50df753bbc42180d982a6550f195390069f + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout source code - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: ref: main token: ${{ steps.generate_token.outputs.token }} fetch-depth: 0 - name: Install stable Rust toolchain - uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: toolchain: stable - name: Cache dependencies - uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 + uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 with: shared-key: stable-ubuntu-latest timeout-minutes: 5 - name: Install cargo-release - uses: taiki-e/install-action@9afdc872091b7327e91d6161c0c3a35ff7addd78 + uses: taiki-e/install-action@5b205dd5b807eef56fdbfeedeedcee63c5d44090 with: tool: cargo-release