fix linter pipeline
This commit is contained in:
parent
95aa8aba91
commit
6ff12f28e6
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -19,8 +19,15 @@ jobs:
|
||||
steps:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up latest Go 1.x version
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.17'
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
go mod tidy
|
||||
- name: Lint code with golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.36
|
||||
only-new-issues: true
|
||||
|
Loading…
Reference in New Issue
Block a user