This commit is contained in:
源文雨 2022-03-20 14:40:47 +08:00
parent 5e301ccaaf
commit 6e2b10b788
3 changed files with 6 additions and 1 deletions

View File

@ -25,6 +25,9 @@ jobs:
# Optional: golangci-lint command line arguments. # Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0 # args: --issues-exit-code=0
# Optional: if set to true then the action will use pre-installed Go.
skip-go-installation: true
# Optional: show only new issues if it's a pull request. The default value is `false`. # Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true # only-new-issues: true

View File

@ -18,6 +18,8 @@ jobs:
with: with:
version: latest version: latest
args: --issues-exit-code=0 args: --issues-exit-code=0
# Optional: if set to true then the action will use pre-installed Go.
skip-go-installation: true
- name: Commit back - name: Commit back
continue-on-error: true continue-on-error: true
run: | run: |

View File

@ -26,7 +26,7 @@ linters:
- exhaustive - exhaustive
#- funlen #- funlen
#- goconst #- goconst
#- gocritic - gocritic
#- gocyclo #- gocyclo
- gofmt - gofmt
- goimports - goimports