Skip to content

Commit

Permalink
golangci-lint: Fix GCI warnings (#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Augustus <foo@auggie.dev>
  • Loading branch information
justaugustus committed Mar 7, 2022
1 parent 32323c1 commit d6456f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/golangci.yml
Expand Up @@ -8,7 +8,7 @@ on:
permissions: read-all

jobs:
lint:
lint:
name: Run golangci lint
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -37,5 +37,4 @@ jobs:
go-version: '1.17.x'
- uses: golangci/golangci-lint-action@b517f99ae23d86ecc4c0dec08dcf48d2336abc29
with:
version: v1.44.0
only-new-issues: true
only-new-issues: true
5 changes: 4 additions & 1 deletion .golangci.yml
Expand Up @@ -78,7 +78,10 @@ linters-settings:
- FIXME
- HACK
gci:
local-prefixes: github.com/ossf/scorecard-action
sections:
- standard
- default
- prefix(github.com/ossf)
gocritic:
enabled-checks:
# Diagnostic
Expand Down

0 comments on commit d6456f6

Please sign in to comment.