diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index 30a5ff0..cccb0e6 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -35,6 +35,10 @@ on: required: false type: boolean default: false + enable_whole_files: + required: false + type: boolean + default: true jobs: build: @@ -87,8 +91,8 @@ jobs: - name: Lint Code Base uses: golangci/golangci-lint-action@v4 with: - version: v1.55 + version: latest only-new-issues: true - args: -c ./.github/linters/.golangci.yaml + args: -c ./.github/linters/.golangci.yaml ${{inputs.enable_whole_files && '--whole-files' || ''}} env: GITHUB_TOKEN: ${{ secrets.github-token }}