12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout Code
15
- uses : actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
15
+ uses : actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.0.0
16
16
- name : Setup Go
17
- uses : actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0 .0
17
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
18
18
with :
19
19
go-version-file : go.mod
20
20
- name : Download go modules
30
30
- name : Vet code
31
31
run : go vet ./...
32
32
- name : Run golangci-lint
33
- uses : golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5
33
+ uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
34
34
35
35
go-test :
36
36
runs-on : ubuntu-latest
44
44
TEST_RESULTS_PATH : ' /tmp/test-results'
45
45
steps :
46
46
- name : Checkout Code
47
- uses : actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
47
+ uses : actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.0.0
48
48
- name : Setup Go
49
- uses : actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0 .0
49
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
50
50
with :
51
51
go-version : ${{ matrix.go-version }}
52
52
- name : Install gotestsum
@@ -60,12 +60,12 @@ jobs:
60
60
run : |
61
61
gotestsum --format=short-verbose --junitfile "$TEST_RESULTS_PATH/gotestsum-report.xml" -- -p 2 -cover -coverprofile=coverage.out ./...
62
62
- name : Upload and save artifacts
63
- uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
63
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
64
64
with :
65
65
path : ${{ env.TEST_RESULTS_PATH }}
66
66
name : tests-linux-${{matrix.go-version}}
67
67
- name : Upload coverage report
68
- uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
68
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
69
69
with :
70
70
path : coverage.out
71
71
name : Coverage-report-${{matrix.go-version}}
0 commit comments