Skip to content

Commit 1103618

Browse files
authored
Pin GitHub Actions (#225)
Pin the GitHub actions to their hash version for supply chain security. * These will be updaed by dependabot (#224) Signed-off-by: SuperQ <[email protected]>
1 parent 3aa11cc commit 1103618

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/linux-integration-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020

2121
steps:
2222
- name: Set up Go
23-
uses: actions/setup-go@v3
23+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2424
with:
2525
go-version: ${{ matrix.go-version }}
2626
id: go
2727

2828
- name: Check out code into the Go module directory
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030

3131
- name: Create a network namespace for privileged tests
3232
run: sudo ip netns add unpriv0

.github/workflows/linux-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020

2121
steps:
2222
- name: Set up Go
23-
uses: actions/setup-go@v3
23+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2424
with:
2525
go-version: ${{ matrix.go-version }}
2626
id: go
2727

2828
- name: Check out code into the Go module directory
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030

3131
- name: Create a network namespace for unprivileged tests
3232
run: sudo ip netns add unpriv0

.github/workflows/macos-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818

1919
steps:
2020
- name: Set up Go
21-
uses: actions/setup-go@v3
21+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2222
with:
2323
go-version: ${{ matrix.go-version }}
2424
id: go
2525

2626
- name: Check out code into the Go module directory
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828

2929
- name: Run tests
3030
run: go test -v -race ./...

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818

1919
steps:
2020
- name: Set up Go
21-
uses: actions/setup-go@v3
21+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2222
with:
2323
go-version: ${{ matrix.go-version }}
2424
id: go
2525

2626
- name: Check out code into the Go module directory
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828

2929
- name: Install staticcheck
3030
run: go install honnef.co/go/tools/cmd/staticcheck@latest

0 commit comments

Comments
 (0)