Update go.yml
This commit is contained in:
parent
1bfa8975e5
commit
d314b771b8
1 changed files with 7 additions and 4 deletions
11
.github/workflows/go.yml
vendored
11
.github/workflows/go.yml
vendored
|
@ -7,14 +7,17 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.13
|
||||
- name: Set up Go 1.14
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.13
|
||||
go-version: 1.14
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: golangci-lint
|
||||
uses: actions-contrib/golangci-lint@v1
|
||||
- name: Install golangci-lint
|
||||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.7
|
||||
|
||||
- name: Lint
|
||||
run: golangci-lint run
|
||||
|
|
Loading…
Reference in a new issue