Skip to content

Commit

Permalink
chore: add actions/setup-go@v2 to linter config (influxdata#10935)
Browse files Browse the repository at this point in the history
  • Loading branch information
sspaink authored Apr 4, 2022
1 parent abceea7 commit 8d3e089
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
name: lint-pr-changes
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42.1
version: v1.45.2
only-new-issues: true
golangci-master:
if: github.ref == 'refs/heads/master'
Expand All @@ -30,6 +31,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42.1
version: v1.45.2
only-new-issues: true
args: --issues-exit-code=0
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ vet:
.PHONY: lint-install
lint-install:
@echo "Installing golangci-lint"
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.1
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2

@echo "Installing markdownlint"
npm install -g markdownlint-cli
Expand Down

0 comments on commit 8d3e089

Please sign in to comment.