Skip to content

Commit 604a4ed

Browse files
committed
add setup-go step in lint job for latest golangci-lint-action
1 parent 6b1cbb7 commit 604a4ed

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pr-check.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ jobs:
88
name: Lint
99
runs-on: ubuntu-20.04
1010
steps:
11-
- uses: actions/checkout@v4
11+
- name: Setup up Go 1.x
12+
uses: actions/setup-go@v5
13+
with:
14+
go-version: "^1.15"
15+
- name: Check out code
16+
uses: actions/checkout@v4
1217
- name: golangci-lint
1318
uses: golangci/golangci-lint-action@v3
1419
with:

0 commit comments

Comments
 (0)