Skip to content

Commit affba0a

Browse files
committed
ci: update pinned actions
1 parent eff3a80 commit affba0a

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ jobs:
4747
persist-credentials: false
4848

4949
- name: Install Rust toolchain
50-
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # ratchet:dtolnay/rust-toolchain@stable
50+
uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # ratchet:dtolnay/rust-toolchain@stable
5151
with:
5252
toolchain: stable
5353
target: ${{ matrix.target }}
5454

5555
- name: Setup Rust cache
56-
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # ratchet:Swatinem/rust-cache@v2
56+
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # ratchet:Swatinem/rust-cache@v2
5757
if: ${{ inputs.disable-cache != true }}
5858

5959
- name: Install cargo-auditable
60-
uses: taiki-e/install-action@575f713d0233afba556737a7b85080563be14186 # ratchet:taiki-e/install-action@v2
60+
uses: taiki-e/install-action@2cab843126c0d8cf950bf55f4e9b8413f70f553f # ratchet:taiki-e/install-action@v2
6161
with:
6262
tool: cargo-auditable
6363

@@ -68,7 +68,7 @@ jobs:
6868
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "1"
6969

7070
- name: Generate build provenance attestations
71-
uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # ratchet:actions/attest-build-provenance@v2
71+
uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # ratchet:actions/attest-build-provenance@v2
7272
if: ${{ github.event_name != 'pull_request' }}
7373
with:
7474
subject-path: |
@@ -109,13 +109,13 @@ jobs:
109109
persist-credentials: false
110110

111111
- name: Install Nix
112-
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # ratchet:cachix/install-nix-action@v31
112+
uses: cachix/install-nix-action@f0fe604f8a612776892427721526b4c7cfb23aba # ratchet:cachix/install-nix-action@v31
113113

114114
- name: Build
115115
run: nix build --print-build-logs '.#nrr-static-${{ matrix.target }}'
116116

117117
- name: Generate build provenance attestations
118-
uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # ratchet:actions/attest-build-provenance@v2
118+
uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # ratchet:actions/attest-build-provenance@v2
119119
if: ${{ github.event_name != 'pull_request' }}
120120
with:
121121
subject-path: ./result/bin/nrr

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
persist-credentials: false
2323

2424
- name: Install Nix
25-
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # ratchet:cachix/install-nix-action@v31
25+
uses: cachix/install-nix-action@f0fe604f8a612776892427721526b4c7cfb23aba # ratchet:cachix/install-nix-action@v31
2626

2727
- name: Check
2828
run: nix build --print-build-logs '.#checks.x86_64-linux.clippy'
2929

3030
- name: Upload analysis results
31-
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # ratchet:github/codeql-action/upload-sarif@v3
31+
uses: github/codeql-action/upload-sarif@39edc492dbe16b1465b0cafca41432d857bdb31a # ratchet:github/codeql-action/upload-sarif@v3
3232
with:
3333
sarif_file: result
3434
wait-for-processing: true
@@ -43,7 +43,7 @@ jobs:
4343
persist-credentials: false
4444

4545
- name: Install Nix
46-
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # ratchet:cachix/install-nix-action@v31
46+
uses: cachix/install-nix-action@f0fe604f8a612776892427721526b4c7cfb23aba # ratchet:cachix/install-nix-action@v31
4747

4848
- name: Check
4949
run: nix build --print-build-logs '.#checks.x86_64-linux.rustfmt'
@@ -58,7 +58,7 @@ jobs:
5858
persist-credentials: false
5959

6060
- name: Install Nix
61-
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # ratchet:cachix/install-nix-action@v31
61+
uses: cachix/install-nix-action@f0fe604f8a612776892427721526b4c7cfb23aba # ratchet:cachix/install-nix-action@v31
6262

6363
- name: Check
6464
run: nix build --print-build-logs '.#checks.x86_64-linux.nixfmt'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
persist-credentials: false
3232

3333
- name: Install Rust toolchain
34-
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # ratchet:dtolnay/rust-toolchain@stable
34+
uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # ratchet:dtolnay/rust-toolchain@stable
3535
with:
3636
toolchain: stable
3737

@@ -57,11 +57,11 @@ jobs:
5757
persist-credentials: false
5858

5959
- name: Install git-cliff
60-
uses: taiki-e/install-action@4f3751e65dd917c16032defda55f75d2928709ed # ratchet:taiki-e/install-action@git-cliff
60+
uses: taiki-e/install-action@12f73ef86fbb6f2d22a935b45c0d6f19d75bc8be # ratchet:taiki-e/install-action@git-cliff
6161

6262
- name: Download artifacts
6363
id: download
64-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # ratchet:actions/download-artifact@v4
64+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # ratchet:actions/download-artifact@v4
6565
with:
6666
path: /tmp/artifacts
6767

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
persist-credentials: false
2929

3030
- name: Install Rust toolchain
31-
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # ratchet:dtolnay/rust-toolchain@stable
31+
uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # ratchet:dtolnay/rust-toolchain@stable
3232
with:
3333
toolchain: stable
3434

3535
- name: Setup Rust cache
36-
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # ratchet:Swatinem/rust-cache@v2
36+
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # ratchet:Swatinem/rust-cache@v2
3737

3838
- name: Test
3939
run: cargo test

src/cli/complete.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn is_executable(path: &Path) -> bool {
4949
}
5050

5151
#[cfg(not(any(unix, windows)))]
52-
fn is_executable(path: &Path) -> bool {
52+
fn is_executable(_path: &Path) -> bool {
5353
true
5454
}
5555

0 commit comments

Comments
 (0)