Merge pull request #4739 from MichaelEischer/ci-allow-annotations

CI: Allow golangci-lint to annotate PRs
This commit is contained in:
Michael Eischer 2024-03-28 18:02:16 +01:00 committed by GitHub
commit a8face3a25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -247,6 +247,10 @@ jobs:
lint:
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
# allow annotating code in the PR
checks: write
steps:
- name: Set up Go ${{ env.latest_go }}
uses: actions/setup-go@v5