Use GolangCI-Lint for Goimports Checking Instead of Third-Party Image (#11246)

This commit is contained in:
Raul Jordan 2022-08-17 17:15:08 +00:00 committed by GitHub
parent 95430ddb57
commit 82bbfce524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -18,12 +18,6 @@ jobs:
id: gomodtidy
uses: ./.github/actions/gomodtidy
- name: GoImports checker
id: goimports
uses: Jerome1337/goimports-action@v1.0.2
with:
goimports-path: ./
gosec:
name: Gosec scan
runs-on: ubuntu-latest

View File

@ -12,6 +12,7 @@ linters:
disable-all: true
enable:
- gofmt
- goimports
- deadcode
- errcheck
- gosimple