Skip to content

Commit

Permalink
CI: Run lint on 1.17 for now
Browse files Browse the repository at this point in the history
staticcheck is expected to have support for generics-based code in a few
weeks. Meanwhile, we can run lint only on 1.17.
  • Loading branch information
abhinav committed Mar 22, 2022
1 parent 16c1f53 commit bb9b132
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/go.yml
Expand Up @@ -15,8 +15,11 @@ jobs:
matrix:
go: ["1.17.x", "1.18.x"]
include:
- go: 1.18.x
latest: true
- go: 1.17.x
lint: true
# TODO: Switch to 1.18 after
# https://github.com/dominikh/go-tools/issues/1166
# is resolved.

steps:
- name: Setup Go
Expand All @@ -43,7 +46,7 @@ jobs:
(cd zapgrpc/internal/test && go mod download)
- name: Lint
if: matrix.latest
if: matrix.lint
run: make lint

- name: Test
Expand Down

0 comments on commit bb9b132

Please sign in to comment.