Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 61611cd

Browse files
authored
update golangic-lint (#1837)
Signed-off-by: Carlos Panato <[email protected]>
1 parent 14458a7 commit 61611cd

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/lint.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,27 @@ on:
55
- main
66
pull_request:
77

8-
permissions:
9-
contents: read
10-
pull-requests: read
8+
permissions: {}
119

1210
jobs:
1311
golangci:
1412
name: lint
1513
runs-on: ubuntu-latest
14+
15+
permissions:
16+
contents: read
17+
pull-requests: read
18+
1619
steps:
17-
- uses: actions/checkout@v4
18-
- uses: actions/setup-go@v5
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
with:
22+
persist-credentials: false
23+
24+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
1925
with:
2026
go-version-file: './go.mod'
27+
2128
- name: golangci-lint
22-
uses: golangci/golangci-lint-action@v7
29+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
2330
with:
24-
version: v2.0
31+
version: v2.1

0 commit comments

Comments
 (0)