diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 9f25f62..fa368e9 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -8,6 +8,8 @@ on: permissions: contents: 'read' + pull-requests: 'read' + checks: 'write' jobs: golangci: @@ -21,4 +23,7 @@ jobs: - uses: 'actions/checkout@v4' - uses: 'golangci/golangci-lint-action@v6' with: + version: 'latest' + args: '--timeout=60m' only-new-issues: true + skip-cache: true diff --git a/.golangci.yml b/.golangci.yml index 5aeb8aa..1287f59 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -74,35 +74,8 @@ run: # output configuration options output: - # Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions - # - # Multiple can be specified by separating them by comma, output can be provided - # for each of them by separating format name and path by colon symbol. - # Output path can be either `stdout`, `stderr` or path to the file to write to. - # Example: "checkstyle:report.json,colored-line-number" - # - # Default: colored-line-number - # format: json - - # Print lines of code with issue. - # Default: true - # print-issued-lines: false - - # Print linter name in the end of issue text. - # Default: true - # print-linter-name: false - - # Make issues output unique by line. - # Default: true - # uniq-by-line: false - - # Add a prefix to the output file references. - # Default is no prefix. - # path-prefix: "" - - # Sort results by: filepath, line and column. - # sort-results: true - + - format: colored-line-number + path: stderr # All available settings of specific linters. linters-settings: