File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Checkout code
18
- uses : actions/checkout@v2
18
+ uses : actions/checkout@v4
19
19
- name : Lint
20
- uses : golangci/golangci-lint-action@v2
20
+ uses : golangci/golangci-lint-action@v6
21
21
with :
22
22
# version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
23
23
version : latest
Original file line number Diff line number Diff line change 9
9
runs-on : ${{ matrix.platform }}
10
10
steps :
11
11
- name : Install Go
12
- uses : actions/setup-go@v1
12
+ uses : actions/setup-go@v5
13
13
with :
14
14
go-version : ${{ matrix.go-version }}
15
15
- name : Checkout code
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v4
17
17
- name : Test klog
18
18
run : |
19
19
go get -t -v ./...
@@ -25,20 +25,20 @@ jobs:
25
25
if : github.base_ref
26
26
steps :
27
27
- name : Install Go
28
- uses : actions/setup-go@v1
28
+ uses : actions/setup-go@v5
29
29
with :
30
30
go-version : 1.21
31
31
- name : Add GOBIN to PATH
32
32
run : echo "PATH=$(go env GOPATH)/bin:$PATH" >>$GITHUB_ENV
33
33
- name : Install dependencies
34
34
run : GO111MODULE=off go get golang.org/x/exp/cmd/apidiff
35
35
- name : Checkout old code
36
- uses : actions/checkout@v2
36
+ uses : actions/checkout@v4
37
37
with :
38
38
ref : ${{ github.base_ref }}
39
39
path : " old"
40
40
- name : Checkout new code
41
- uses : actions/checkout@v2
41
+ uses : actions/checkout@v4
42
42
with :
43
43
path : " new"
44
44
- name : APIDiff
You can’t perform that action at this time.
0 commit comments