File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,18 @@ jobs:
1313
1414 steps :
1515 - name : Check out code into the Go module directory
16- uses : actions/checkout@v3
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Go Toolchain
19+ uses : actions/setup-go@v5
20+ with :
21+ go-version : ' 1.20.x'
22+ cache : false
1723
1824 - name : Lint
19- uses : golangci/golangci-lint-action@v3
25+ uses : golangci/golangci-lint-action@v4
2026 with :
21- version : v1.51
27+ version : ' v1.51'
2228 build-and-test :
2329 name : Test and Build
2430 strategy :
@@ -29,15 +35,16 @@ jobs:
2935
3036 steps :
3137 - name : Check out code into the Go module directory
32- uses : actions/checkout@v3
38+ uses : actions/checkout@v4
3339
3440 - name : Set up Go Toolchain
35- uses : actions/setup-go@v3
41+ uses : actions/setup-go@v5
3642 with :
3743 go-version : ${{ matrix.go-version }}
44+ cache : false
3845
3946 - name : Cache Go artifacts
40- uses : actions/cache@v2
47+ uses : actions/cache@v4
4148 with :
4249 path : |
4350 ~/go/pkg/mod
You can’t perform that action at this time.
0 commit comments