File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 99 name : Verify
1010 runs-on : ubuntu-latest
1111 steps :
12- - name : Set up Go 1.13
13- uses : actions/setup-go@v1
12+ - name : Set up Go 1.16
13+ uses : actions/setup-go@v2
1414 with :
15- go-version : 1.13
16- id : go
17-
18- - name : Set up environment
19- run : |
20- # https://github.com/actions/setup-go/issues/14
21- echo "::set-env name=GOPATH::$(go env GOPATH)"
22- echo "::add-path::$(go env GOPATH)/bin"
23-
24- - name : Install golangci-lint
25- run : curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.1
26-
15+ go-version : 1.16
16+
2717 - name : Check out code into the Go module directory
28- uses : actions/checkout@v1
18+ uses : actions/checkout@v2
2919
3020 - name : Lint
31- run : golangci-lint run
21+ uses : golangci/golangci-lint-action@v2
22+ with :
23+ version : v1.28
3224
3325 - name : Test
3426 run : go test -v ./...
35-
You can’t perform that action at this time.
0 commit comments