@@ -18,17 +18,17 @@ jobs:
18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- name : Checkout Repo
21
- uses : actions/checkout@v4
21
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
22
22
with :
23
23
fetch-depth : 0 # # Needed for "Set internal/tools/go.mod timestamp" step.
24
24
- name : Install Go
25
- uses : actions/setup-go@v5
25
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
26
26
with :
27
27
go-version : ${{ env.DEFAULT_GO_VERSION }}
28
28
check-latest : true
29
29
cache-dependency-path : " **/go.sum"
30
30
- name : Tools cache
31
- uses : actions/cache@v4
31
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
32
32
env :
33
33
cache-name : go-tools-cache
34
34
with :
@@ -54,13 +54,13 @@ jobs:
54
54
runs-on : ubuntu-latest
55
55
steps :
56
56
- name : Checkout Repo
57
- uses : actions/checkout@v4
57
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
58
58
- name : Setup Environment
59
59
run : |
60
60
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
61
61
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
62
62
- name : Install Go
63
- uses : actions/setup-go@v5
63
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
64
64
with :
65
65
go-version : ${{ env.DEFAULT_GO_VERSION }}
66
66
cache-dependency-path : " **/go.sum"
71
71
runs-on : ubuntu-latest
72
72
steps :
73
73
- name : Checkout Repo
74
- uses : actions/checkout@v4
74
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
75
75
- name : Install Go
76
- uses : actions/setup-go@v5
76
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
77
77
with :
78
78
go-version : ${{ env.DEFAULT_GO_VERSION }}
79
79
check-latest : true
85
85
runs-on : ubuntu-latest
86
86
steps :
87
87
- name : Checkout Repo
88
- uses : actions/checkout@v4
88
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
89
89
- name : Install Go
90
- uses : actions/setup-go@v5
90
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
91
91
with :
92
92
go-version : ${{ env.DEFAULT_GO_VERSION }}
93
93
check-latest : true
@@ -99,17 +99,17 @@ jobs:
99
99
runs-on : ubuntu-latest
100
100
steps :
101
101
- name : Checkout Repo
102
- uses : actions/checkout@v4
102
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
103
103
- name : Install Go
104
- uses : actions/setup-go@v5
104
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
105
105
with :
106
106
go-version : ${{ env.DEFAULT_GO_VERSION }}
107
107
check-latest : true
108
108
cache-dependency-path : " **/go.sum"
109
109
- name : Run coverage tests
110
110
run : make test-coverage
111
111
- name : Store coverage test output
112
- uses : actions/upload-artifact@v4
112
+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
113
113
with :
114
114
name : coverage-artifacts-${{ env.DEFAULT_GO_VERSION }}
115
115
path : coverage.txt
@@ -118,11 +118,11 @@ jobs:
118
118
runs-on : ubuntu-latest
119
119
needs : [test-coverage]
120
120
steps :
121
- - uses : actions/download-artifact@v4
121
+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
122
122
with :
123
123
pattern : coverage-artifacts-${{ env.DEFAULT_GO_VERSION }}
124
124
- name : Upload coverage report
125
-
125
+ uses : codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
126
126
with :
127
127
fail_ci_if_error : true
128
128
files : ./coverage.txt
@@ -150,9 +150,9 @@ jobs:
150
150
runs-on : ${{ matrix.platform.os }}
151
151
steps :
152
152
- name : Checkout code
153
- uses : actions/checkout@v4
153
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
154
154
- name : Install Go
155
- uses : actions/setup-go@v5
155
+ uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
156
156
with :
157
157
go-version : ${{ matrix.go-version }}
158
158
check-latest : true
0 commit comments