Skip to content

Commit

Permalink
fix: remove unsupported args for golanci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
feiskyer committed Jan 16, 2025
1 parent f8e0898 commit c1f024c
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ on:
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit

Expand All @@ -35,17 +34,4 @@ jobs:
version: latest

# Optional: golangci-lint command line arguments.
args: --timeout 10m ./...

# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: false

# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
skip-cache: false

# Optional: if set to true then the action don't cache or restore ~/go/pkg.
skip-pkg-cache: false

# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
skip-build-cache: false
args: -v --timeout 10m ./...

0 comments on commit c1f024c

Please sign in to comment.