Skip to content

Commit bb9b132

Browse files
committed
CI: Run lint on 1.17 for now
staticcheck is expected to have support for generics-based code in a few weeks. Meanwhile, we can run lint only on 1.17.
1 parent 16c1f53 commit bb9b132

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ jobs:
1515
matrix:
1616
go: ["1.17.x", "1.18.x"]
1717
include:
18-
- go: 1.18.x
19-
latest: true
18+
- go: 1.17.x
19+
lint: true
20+
# TODO: Switch to 1.18 after
21+
# https://github.com/dominikh/go-tools/issues/1166
22+
# is resolved.
2023

2124
steps:
2225
- name: Setup Go
@@ -43,7 +46,7 @@ jobs:
4346
(cd zapgrpc/internal/test && go mod download)
4447
4548
- name: Lint
46-
if: matrix.latest
49+
if: matrix.lint
4750
run: make lint
4851

4952
- name: Test

0 commit comments

Comments
 (0)