Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ jobs:
go-version-file: go.mod
cache: true

- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.6.1

- name: Run golangci-lint
run: golangci-lint run --timeout=5m
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: v2.12.2
args: --timeout=5m
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ formatters:
- goimports
settings:
goimports:
local-prefixes: opzkit/database-user-operator
local-prefixes:
- opzkit/database-user-operator

linters:
# Default linters are already enabled: errcheck, govet, ineffassign, staticcheck, unused
Expand Down
Loading