Skip to content

Commit 6ee1db2

Browse files
fix github actions linter error (#275)
fix is based on this comment: golangci/golangci-lint-action#442 (comment)
1 parent f765f80 commit 6ee1db2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
name: run tests
88
jobs:
99
lint:
10+
strategy:
11+
matrix:
12+
go-version: ["1.18.x"]
1013
runs-on: ubuntu-latest
1114
steps:
1215
- name: Install Go
@@ -19,11 +22,12 @@ jobs:
1922
uses: golangci/[email protected]
2023
with:
2124
version: "v1.37.1"
25+
go-version: ${{ matrix.go-version }}
2226

2327
test:
2428
strategy:
2529
matrix:
26-
go-version: ["1.12.0", "^1.17.6"]
30+
go-version: ["1.12.0", "1.18.x"]
2731
platform: [ubuntu-latest, macos-latest, windows-latest]
2832
runs-on: ${{ matrix.platform }}
2933
steps:

0 commit comments

Comments
 (0)