File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,13 @@ jobs:
1111 name : lint
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/setup-go@v3
14+ - uses : actions/checkout@v4
15+
16+ - name : Setup Go
17+ uses : actions/setup-go@v5
1518 with :
16- go-version : 1.19
17- - uses : actions/checkout@v3
19+ go-version-file : go.mod
20+ check-latest : true
1821 - name : golangci-lint
1922 uses : golangci/golangci-lint-action@v3
2023 with :
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ master ]
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 build-and-test :
1114 runs-on : ubuntu-latest
1215 steps :
13- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1417
1518 - name : Setup Go
16- uses : actions/setup-go@v2
19+ uses : actions/setup-go@v5
1720 with :
18- go-version : ' 1.19'
21+ go-version-file : go.mod
22+ check-latest : true
1923
2024 - name : Run build
2125 run : go build .
You can’t perform that action at this time.
0 commit comments