diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index f1b99554..ef4a65fa 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -25,6 +25,9 @@ jobs: # Optional: golangci-lint command line arguments. # 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`. # only-new-issues: true diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e7eb1571..a66debe7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -18,6 +18,8 @@ jobs: with: version: latest 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 continue-on-error: true run: | diff --git a/.golangci.yml b/.golangci.yml index 047abed8..182d0ee8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -26,7 +26,7 @@ linters: - exhaustive #- funlen #- goconst - #- gocritic + - gocritic #- gocyclo - gofmt - goimports