This commit is contained in:
Sven Anderson 2022-11-30 17:54:45 +01:00
parent 640791bfa9
commit bc9122ba38
2 changed files with 2 additions and 3 deletions

View File

@ -37,7 +37,7 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.47.3
version: latest
# Optional: working directory, useful for monorepos
# working-directory: somedir

View File

@ -4,11 +4,10 @@ run:
- ceph_ci_untested
linters:
# disable-all: true
disable-all: true
# enable-all: true
enable:
- revive # Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. [fast: false, auto-fix: false]
# Enabled by default linters:
# - deadcode # Finds unused code [fast: false, auto-fix: false]
# - errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]