Skip to content

Commit 19b2292

Browse files
mcbenjemaawikkyk
authored andcommitted
Fix Lint action
1 parent 0cd195b commit 19b2292

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Lint
22
on: [ pull_request ]
33

4+
permissions:
5+
# Required: allow read access to the content for analysis.
6+
contents: read
7+
48
jobs:
59
golangci:
610
name: lint
@@ -10,8 +14,9 @@ jobs:
1014
- uses: actions/setup-go@v5
1115
with:
1216
go-version-file: go.mod
17+
cache: false
1318
- name: golangci-lint
14-
uses: golangci/golangci-lint-action@v3.7.0
19+
uses: golangci/golangci-lint-action@v3
1520
with:
1621
version: v1.54
1722

0 commit comments

Comments
 (0)