Skip to content

Commit

Permalink
Run lint against Go 1.17 to constrain introduction of 1.18 features. (#…
Browse files Browse the repository at this point in the history
…1374)

@gsoltis had a good minimally-invasive suggestion which gets our linters back working: #1168 (comment)

This PR implements that suggestion. We still build and publish with 1.18, the only real difference is we run lint against 1.17; which will happily break us if we introduce 1.18-specific features.
  • Loading branch information
nathanhammond authored Jun 13, 2022
1 parent ef54e6b commit fc02119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.17
- uses: actions/checkout@v3
with:
fetch-depth: 2
Expand Down

0 comments on commit fc02119

Please sign in to comment.