Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
ansiwen committed Nov 30, 2022
1 parent 640791b commit bc9122b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit bc9122b

Please sign in to comment.