upgrade linter to 1.35 (#786)

* lint: added test that enforces Makefile and GH action linter versions are in sync
* workaround for linter gomnd problem - https://github.com/golangci/golangci-lint/issues/1653
This commit is contained in:
Jarek Kowalski
2021-01-16 18:21:16 -08:00
committed by GitHub
parent 4c8b9291e1
commit 1f3b8d4da4
62 changed files with 301 additions and 63 deletions

View File

@@ -5,21 +5,12 @@ on:
branches: [ master ]
jobs:
build:
name: Build
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.14
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Lint
run: |
make lint
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.35