diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30edbb5..b4ebec9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # ratchet:actions/checkout@v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0 with: persist-credentials: false @@ -61,7 +61,7 @@ jobs: if: ${{ inputs.disable-cache != true }} - name: Install cargo-auditable - uses: taiki-e/install-action@59012be0884e296ca2da49b530610e72c49039ad # ratchet:taiki-e/install-action@v2 + uses: taiki-e/install-action@43aecc8d72668fbcfe75c31400bc4f890f1c5853 # ratchet:taiki-e/install-action@v2 with: tool: cargo-auditable @@ -72,7 +72,7 @@ jobs: CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "1" - name: Generate build provenance attestations - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # ratchet:actions/attest-build-provenance@v3 + uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # ratchet:actions/attest-build-provenance@v3 if: ${{ github.event_name != 'pull_request' }} with: subject-path: | @@ -108,18 +108,18 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # ratchet:actions/checkout@v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0 with: persist-credentials: false - name: Install Nix - uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # ratchet:cachix/install-nix-action@v31 + uses: cachix/install-nix-action@a49548c11d9846ad46ecc0115273879b045f001c # ratchet:cachix/install-nix-action@v31 - name: Build run: nix build --print-build-logs '.#nrr-static-${{ matrix.target }}' - name: Generate build provenance attestations - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # ratchet:actions/attest-build-provenance@v3 + uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # ratchet:actions/attest-build-provenance@v3 if: ${{ github.event_name != 'pull_request' }} with: subject-path: ./result/bin/nrr diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 625cf46..61799ec 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -21,12 +21,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # ratchet:actions/checkout@v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0 with: persist-credentials: false - name: Install Nix - uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # ratchet:cachix/install-nix-action@v31 + uses: cachix/install-nix-action@a49548c11d9846ad46ecc0115273879b045f001c # ratchet:cachix/install-nix-action@v31 - name: Collect checks id: checks @@ -47,19 +47,19 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # ratchet:actions/checkout@v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0 with: persist-credentials: false - name: Install Nix - uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # ratchet:cachix/install-nix-action@v31 + uses: cachix/install-nix-action@a49548c11d9846ad46ecc0115273879b045f001c # ratchet:cachix/install-nix-action@v31 - name: Check run: nix build --fallback --print-build-logs '.#checks.x86_64-linux.${{ matrix.check }}' - name: Upload Clippy results if: ${{ matrix.check == 'clippy' }} - uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # ratchet:github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # ratchet:github/codeql-action/upload-sarif@v3 with: sarif_file: result wait-for-processing: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb96fca..a838c16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # ratchet:actions/checkout@v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0 with: persist-credentials: false @@ -43,7 +43,7 @@ jobs: toolchain: stable - name: Authenticate with crates.io - uses: rust-lang/crates-io-auth-action@bbd81622f20ce9e2dd9622e3218b975523e45bbe # ratchet:rust-lang/crates-io-auth-action@v1 + uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 # ratchet:rust-lang/crates-io-auth-action@v1 id: auth - name: Publish @@ -62,13 +62,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # ratchet:actions/checkout@v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0 with: fetch-depth: 0 persist-credentials: false - name: Install git-cliff - uses: taiki-e/install-action@59012be0884e296ca2da49b530610e72c49039ad # ratchet:taiki-e/install-action@git-cliff + uses: taiki-e/install-action@43aecc8d72668fbcfe75c31400bc4f890f1c5853 # ratchet:taiki-e/install-action@git-cliff - name: Download artifacts id: download diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c762ec..887043c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # ratchet:actions/checkout@v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7.0.0 with: persist-credentials: false