@@ -20,19 +20,19 @@ jobs:
20
20
contents : read
21
21
steps :
22
22
- name : Setup go
23
- uses : actions/setup-go@v3
23
+ uses : actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
24
24
with :
25
25
go-version : ${{ matrix.go-version }}
26
26
27
27
- name : Checkout code
28
- uses : actions/checkout@v3
28
+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
29
29
30
30
- name : Create test directory
31
31
run : |
32
32
mkdir -p ${{ env.TEST_RESULTS_PATH }}
33
33
34
34
- name : Setup cache for go modules
35
- uses : actions/cache@v3
35
+ uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
36
36
with :
37
37
path : |
38
38
~/.cache/go-build
59
59
run :
go install gotest.tools/[email protected]
60
60
61
61
- name : Configure AWS Credentials
62
- uses : aws-actions/configure-aws-credentials@v1
62
+ uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0
63
63
with :
64
64
aws-region : us-east-1
65
65
role-to-assume : arn:aws:iam::388664967494:role/hc-go-getter-test
82
82
83
83
# Save coverage report parts
84
84
- name : Upload and save artifacts
85
- uses : actions/upload-artifact@v3
85
+ uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
86
86
with :
87
87
name : linux test results
88
88
path : linux_cov.part
@@ -103,15 +103,15 @@ jobs:
103
103
run : git config --global core.autocrlf false
104
104
105
105
- name : Setup Go
106
- uses : actions/setup-go@v3
106
+ uses : actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
107
107
with :
108
108
go-version : ${{ matrix.go-version }}
109
109
110
110
- name : Checkout code
111
- uses : actions/checkout@v3
111
+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
112
112
113
113
- name : Setup cache for go modules
114
- uses : actions/cache@v3
114
+ uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
115
115
with :
116
116
path : |
117
117
~\AppData\Local\go-build
@@ -128,7 +128,7 @@ jobs:
128
128
run :
go install gotest.tools/[email protected]
129
129
130
130
- name : Configure AWS Credentials
131
- uses : aws-actions/configure-aws-credentials@v1
131
+ uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0
132
132
with :
133
133
aws-region : us-east-1
134
134
role-to-assume : arn:aws:iam::388664967494:role/hc-go-getter-test
@@ -152,7 +152,7 @@ jobs:
152
152
153
153
# Save coverage report parts
154
154
- name : Upload and save artifacts
155
- uses : actions/upload-artifact@v3
155
+ uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
156
156
with :
157
157
name : windows test results
158
158
path : win_cov.part
0 commit comments