diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..9692e46 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,2 @@ +run: + allow-parallel-runners: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 09e18cb..80585bd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -20,7 +20,7 @@ repos: - --project - unboundsoftware/gitlab-cleanup-handler - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.1.0 + rev: v9.5.0 hooks: - id: commitlint stages: [ commit-msg ] @@ -32,6 +32,8 @@ repos: - id: go-fmt-goimports - id: go-test - id: go-vet - - id: golangci-lint - id: gofumpt - - id: staticcheck +- repo: https://github.com/golangci/golangci-lint + rev: v1.52.2 + hooks: + - id: golangci-lint