Skip to content

Commit f9b981e

Browse files
authored
Pin GitHub Actions to commit SHAs (#98)
* Pin GitHub Actions to commit SHAs Signed-off-by: Mohamed Hamza <mhamza@fastmail.com> * Add version comments for pinned actions Signed-off-by: Mohamed Hamza <mhamza@fastmail.com> --------- Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
1 parent e3276cd commit f9b981e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1212

1313
- name: Set up Go
14-
uses: actions/setup-go@v5
14+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
1515
with:
1616
go-version-file: './go.mod'
1717

1818
- name: Cache Go modules
19-
uses: actions/cache@v3
19+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
2020
with:
2121
path: |
2222
~/.cache/go-build
@@ -58,7 +58,7 @@ jobs:
5858
run: go test -v ./... | go-junit-report > report.xml
5959

6060
- name: Test Summary
61-
uses: test-summary/action@v2.4
61+
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
6262
with:
6363
paths: "report.xml"
6464
show: "fail"

0 commit comments

Comments
 (0)