diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3938b21..26539a36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,8 +115,10 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3 with: - args: --timeout=5m --print-issued-lines --print-linter-name -c .golangci.yaml --out-format=github-actions --issues-exit-code=0 + args: --timeout=5m --print-issued-lines --print-linter-name -c .golangci.yaml --out-format=github-actions install-mode: "goinstall" + skip-cache: true + only-new-issues: true vuln_check: runs-on: ubuntu-latest diff --git a/Taskfile.yml b/Taskfile.yml index 72ebd5b1..48a7022f 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -144,6 +144,11 @@ tasks: cmds: - gofumpt -w -l . + lint: + desc: Lint the code + cmds: + - task: lint:go + lint:go: desc: Lint the code with golangci-lint cmds: