Update workflows.

This commit is contained in:
Jim McDonald
2025-02-16 15:42:52 +00:00
parent 4d3bd966e0
commit c3471240a5
2 changed files with 7 additions and 29 deletions

View File

@@ -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

View File

@@ -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: