@@ -15,12 +15,12 @@ jobs:
15
15
16
16
steps :
17
17
- name : Setup go
18
- uses : actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5 .0
18
+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
19
19
with :
20
20
go-version : ${{ matrix.go-version }}
21
21
22
22
- name : Checkout code
23
- uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
23
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24
24
25
25
- name : Create test directory
26
26
run : |
30
30
run : go mod download
31
31
32
32
- name : Cache / restore go modules
33
- uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
33
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
34
34
with :
35
35
path : |
36
36
~/go/pkg/mod
50
50
fi
51
51
52
52
- name : Run golangci-lint
53
- uses : golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5
53
+ uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
54
54
55
55
# Install gotestsum with go get for 1.15.3; otherwise default to go install
56
56
- name : Install gotestsum
@@ -71,13 +71,13 @@ jobs:
71
71
72
72
# Save coverage report parts
73
73
- name : Upload and save artifacts
74
- uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
74
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
75
75
with :
76
76
name : Test Results-${{matrix.go-version}}
77
77
path : ${{ env.TEST_RESULTS }}
78
78
79
79
- name : Upload coverage report
80
- uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
80
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
81
81
with :
82
82
path : coverage.out
83
83
name : Coverage-report-${{matrix.go-version}}
0 commit comments