mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 13:17:42 +00:00
CI: Allow golangci-lint to annotate PRs
This commit is contained in:
parent
d1d773cfcd
commit
5c4a4b4a30
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -247,6 +247,10 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
name: lint
|
name: lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
# allow annotating code in the PR
|
||||||
|
checks: write
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go ${{ env.latest_go }}
|
- name: Set up Go ${{ env.latest_go }}
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
|
Loading…
Reference in New Issue
Block a user