mirror of
https://github.com/wealdtech/ethdo.git
synced 2026-01-08 21:48:05 -05:00
Update workflows.
This commit is contained in:
5
.github/workflows/golangci-lint.yml
vendored
5
.github/workflows/golangci-lint.yml
vendored
@@ -8,6 +8,8 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: 'read'
|
contents: 'read'
|
||||||
|
pull-requests: 'read'
|
||||||
|
checks: 'write'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
golangci:
|
golangci:
|
||||||
@@ -21,4 +23,7 @@ jobs:
|
|||||||
- uses: 'actions/checkout@v4'
|
- uses: 'actions/checkout@v4'
|
||||||
- uses: 'golangci/golangci-lint-action@v6'
|
- uses: 'golangci/golangci-lint-action@v6'
|
||||||
with:
|
with:
|
||||||
|
version: 'latest'
|
||||||
|
args: '--timeout=60m'
|
||||||
only-new-issues: true
|
only-new-issues: true
|
||||||
|
skip-cache: true
|
||||||
|
|||||||
@@ -74,35 +74,8 @@ run:
|
|||||||
|
|
||||||
# output configuration options
|
# output configuration options
|
||||||
output:
|
output:
|
||||||
# Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
|
- format: colored-line-number
|
||||||
#
|
path: stderr
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# All available settings of specific linters.
|
# All available settings of specific linters.
|
||||||
linters-settings:
|
linters-settings:
|
||||||
|
|||||||
Reference in New Issue
Block a user