Skip to content

Commit 3cb6852

Browse files
ChesterSimChester Sim
andauthored
ci: pin GitHub Actions to commit SHAs (FE-4376) (#155)
Co-authored-by: Chester Sim <chester@lumencollective.xyz>
1 parent 0f388fc commit 3cb6852

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
CARGO_DRIFT_FFI_PATH: /usr/lib
2727
steps:
2828
- name: Check out
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3030
with:
3131
fetch-depth: 0
3232
- name: Config rust toolchain
@@ -35,7 +35,7 @@ jobs:
3535
rustup show active-toolchain
3636
- name: Format
3737
run: cargo fmt --all -- --check
38-
- uses: ubicloud/rust-cache@v2
38+
- uses: ubicloud/rust-cache@65b3ff06b9bcc69d88c25e212f1ae3d14a0953c3 # v2
3939
with:
4040
path: |
4141
~/.cargo/registry/index/

.github/workflows/on-sdk-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubicloud
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1212

1313
- name: Load drift-rs version
1414
run: |
@@ -19,7 +19,7 @@ jobs:
1919
sed -i '/^drift-rs/s/tag = ".*"/tag = "'$SDK_VERSION'"/' Cargo.toml
2020
2121
- name: Install Rust toolchain
22-
uses: actions-rs/toolchain@v1
22+
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
2323
with:
2424
profile: minimal
2525
toolchain: stable

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
timeout-minutes: 45
2020
steps:
2121
- name: Check out
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2323
with:
2424
fetch-depth: 0
2525
- name: Build image

0 commit comments

Comments
 (0)