Skip to content

Commit

Permalink
updated golangci-lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
gernotstarke committed Dec 24, 2024
1 parent 159bb0f commit 376cd6b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
name: golangci-lint
on:
push:
branches: [ main ]
branches:
- main
pull_request:
branches: [ main ]

permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: true
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=3m
version: v1.60

0 comments on commit 376cd6b

Please sign in to comment.