use only golangci-lint
This commit is contained in:
5
.github/workflows/pr.yml
vendored
5
.github/workflows/pr.yml
vendored
@@ -13,14 +13,9 @@ jobs:
|
|||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '1.18'
|
go-version: '1.18'
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
go version
|
|
||||||
go get -u golang.org/x/lint/golint
|
|
||||||
- name: Run vet & lint
|
- name: Run vet & lint
|
||||||
run: |
|
run: |
|
||||||
go vet .
|
go vet .
|
||||||
golint .
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user