diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a10953d..9f223da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.golangci.yaml b/.golangci.yaml index 0bee7a6..e7991d5 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -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]