Skip to content

Commit

Permalink
Updated golint.
Browse files Browse the repository at this point in the history
Signed-off-by: bwplotka <bwplotka@gmail.com>
  • Loading branch information
bwplotka committed Jun 13, 2023
1 parent f431b3f commit 7ad1987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/go.yml
Expand Up @@ -37,9 +37,6 @@ jobs:
env:
CI: true

- name: Run lint
run: make lint

- name: Run style and unused
if: ${{ matrix.go_version == '1.20' }}
run: make style unused
5 changes: 3 additions & 2 deletions .github/workflows/golangci-lint.yml
Expand Up @@ -32,6 +32,7 @@ jobs:
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
if: github.repository == 'prometheus/snmp_exporter'
- name: Lint
uses: golangci/golangci-lint-action@v3.2.0
uses: golangci/golangci-lint-action@v3.4.0
with:
version: v1.45.2
args: --verbose
version: v1.51.2

0 comments on commit 7ad1987

Please sign in to comment.