Upgrade golangci-lint (#182)

1.42 seems to be having some problems with Go 1.18 (see #2649), so let's
just upgrade to latest.  There was one new error, suggesting to use `%q`
rather than `"%s"`, since the former does escapes properly.  It doesn't
really matter for us -- the string should be an identifier -- but it
doesn't hurt.  (Plus it wanted us to upgrade from ioutil, which I did
in #181.)

Test plan: make check
This commit is contained in:
Ben Kraft
2022-03-22 12:25:47 -07:00
committed by GitHub
parent 000f311254
commit e81d19c8be
4 changed files with 390 additions and 192 deletions
+1 -1
View File
@@ -42,4 +42,4 @@ jobs:
- name: Run lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42 # should match internal/lint/go.mod
version: v1.45 # should match internal/lint/go.mod