diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d6880b..e944737 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # ratchet:actions/checkout@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v5 with: persist-credentials: false @@ -61,7 +61,7 @@ jobs: if: ${{ inputs.disable-cache != true }} - name: Install cargo-auditable - uses: taiki-e/install-action@b9c5db3aef04caffaf95a1d03931de10fb2a140f # ratchet:taiki-e/install-action@v2 + uses: taiki-e/install-action@288875dd3d64326724fa6d9593062d9f8ba0b131 # 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@00014ed6ed5efc5b1ab7f7f34a39eb55d41aa4f8 # ratchet:actions/attest-build-provenance@v3 + uses: actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # ratchet:actions/checkout@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v5 with: persist-credentials: false - name: Install Nix - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # ratchet:cachix/install-nix-action@v31 + uses: cachix/install-nix-action@2126ae7fc54c9df00dd18f7f18754393182c73cd # ratchet:cachix/install-nix-action@v31.9.1 - name: Build run: nix build --print-build-logs '.#nyoom-static-${{ matrix.target }}' - name: Generate build provenance attestations - uses: actions/attest-build-provenance@00014ed6ed5efc5b1ab7f7f34a39eb55d41aa4f8 # ratchet:actions/attest-build-provenance@v3 + uses: actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # ratchet:actions/attest-build-provenance@v3 if: ${{ github.event_name != 'pull_request' }} with: subject-path: ./result/bin/nyoom diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c6e0947..db951e5 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -21,12 +21,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # ratchet:actions/checkout@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v5 with: persist-credentials: false - name: Install Nix - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # ratchet:cachix/install-nix-action@v31 + uses: cachix/install-nix-action@2126ae7fc54c9df00dd18f7f18754393182c73cd # ratchet:cachix/install-nix-action@v31.9.1 - name: Collect checks id: checks @@ -47,19 +47,19 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # ratchet:actions/checkout@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v5 with: persist-credentials: false - name: Install Nix - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # ratchet:cachix/install-nix-action@v31 + uses: cachix/install-nix-action@2126ae7fc54c9df00dd18f7f18754393182c73cd # ratchet:cachix/install-nix-action@v31.9.1 - 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@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # ratchet:github/codeql-action/upload-sarif@v4 + uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # ratchet:github/codeql-action/upload-sarif@v4 with: sarif_file: result wait-for-processing: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 469eed9..6a3f6bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # ratchet:actions/checkout@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v5 with: persist-credentials: false