Skip to content

Commit 82da1e7

Browse files
chore: pin actions to SHA in .github/workflows/rollout-dashboard.yaml
1 parent 67f96fb commit 82da1e7

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/rollout-dashboard.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
- name: Set month and year for cache key
2626
id: date
2727
run: echo "date=$(date +'%Y-%m')" >> "$GITHUB_OUTPUT"
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2929
- name: Move backend files to source root
3030
run: mv -f rollout-dashboard/server/* .
3131
- name: Cache Cargo stuff once a month for faster execution
32-
uses: actions/cache@v3
32+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
3333
with:
3434
key: cargo-build-deps-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ steps.date.outputs.date }}
3535
path: |
@@ -41,11 +41,11 @@ jobs:
4141
target/debug/deps
4242
target/debug/.fingerprint
4343
- name: Set up Rust toolchain
44-
uses: actions-rs/toolchain@v1
44+
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
4545
with:
4646
toolchain: stable
4747
- name: Security audit
48-
uses: actions-rs/audit-check@v1
48+
uses: actions-rs/audit-check@35b7b53b1e25b55642157ac01b4adceb5b9ebef3 # v1.2.0
4949
with:
5050
token: ${{ secrets.GITHUB_TOKEN }}
5151
- name: cargo machete
@@ -54,11 +54,11 @@ jobs:
5454
which cargo-machete || cargo install cargo-machete
5555
cargo machete
5656
- name: cargo clippy
57-
uses: actions-rs/cargo@v1
57+
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
5858
with:
5959
command: clippy
6060
- name: cargo test
61-
uses: actions-rs/cargo@v1
61+
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
6262
with:
6363
command: test
6464
- name: cargo doc
@@ -70,9 +70,9 @@ jobs:
7070
name: Test rollout dashboard frontend
7171
runs-on: ubuntu-latest
7272
steps:
73-
- uses: actions/checkout@v4
73+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
7474
- name: Set up Node.js
75-
uses: actions/setup-node@v4
75+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
7676
with:
7777
node-version: "20.x"
7878
- name: Move frontend files to source root
@@ -91,7 +91,7 @@ jobs:
9191
needs: [test-backend, test-frontend]
9292
runs-on: ubuntu-latest
9393
steps:
94-
- uses: actions/checkout@v4
94+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
9595
- uses: ./.github/workflows/publish
9696
name: Create rollout-dashboard container
9797
with:
@@ -103,7 +103,7 @@ jobs:
103103
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
104104
runs-on: ubuntu-latest
105105
steps:
106-
- uses: actions/checkout@v4
106+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
107107
- uses: ./.github/workflows/publish
108108
name: Create and publish rollout-dashboard container
109109
with:

0 commit comments

Comments
 (0)