From 49746f8995499488c822e029fb73f59f91253178 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Thu, 31 Mar 2022 16:07:51 -0700 Subject: [PATCH] Use newer lint tools --- .github/workflows/pull_request.yaml | 4 ++-- .golangci.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 5ba204d1..fe256023 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -122,9 +122,9 @@ jobs: - name: Check-out code uses: actions/checkout@v2 - name: Lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: - version: v1.29 + version: v1.45 build: runs-on: ubuntu-latest diff --git a/.golangci.yml b/.golangci.yml index a86273ea..ba4493a2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,11 +12,10 @@ linters: - errcheck # - gofmt - goimports - - golint + - revive - gosimple - govet - ineffassign - - interfacer - nakedret - misspell - staticcheck