Bump up linter version (#4114)

- Add Go 1.18 to CI
- Appears to be needed for Go 1.18
This commit is contained in:
Aditya Manthramurthy
2022-06-10 15:12:05 -07:00
committed by GitHub
parent 250c0e4e59
commit d42880acb1
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -5,6 +5,12 @@ on:
branches:
- master
# This ensures that previous jobs for the PR are canceled when the PR is
# updated.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
name: Test on Go ${{ matrix.go-version }} and ${{ matrix.os }}
@@ -13,7 +19,7 @@ jobs:
GO111MODULE: on
strategy:
matrix:
go-version: [1.17.x]
go-version: [1.17.x, 1.18.x]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
+1 -1
View File
@@ -18,7 +18,7 @@ checks:
getdeps:
@mkdir -p ${GOPATH}/bin
@echo "Installing golangci-lint" && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.43.0
@echo "Installing golangci-lint" && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.46.2
@echo "Installing stringer" && go install -v golang.org/x/tools/cmd/stringer@latest
crosscompile: