chore(build): bump Go from 1.17 to 1.18
- Unneeded disabled linters are: `rowserrcheck`, `sqlclosecheck` - Disabled linter is `wastedassign` which is tolerable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
ARG ALPINE_VERSION=3.16
|
||||
ARG GO_ALPINE_VERSION=3.16
|
||||
ARG GO_VERSION=1.17
|
||||
ARG GO_VERSION=1.18
|
||||
ARG XCPUTRANSLATE_VERSION=v0.6.0
|
||||
ARG GOLANGCI_LINT_VERSION=v1.49.0
|
||||
ARG MOCKGEN_VERSION=v1.6.0
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
||||
module github.com/qdm12/gluetun
|
||||
|
||||
go 1.17
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/breml/rootcerts v0.2.6
|
||||
|
||||
@@ -30,7 +30,7 @@ func Test_newHTTPClient(t *testing.T) {
|
||||
piaTransport, ok := piaClient.Transport.(*http.Transport)
|
||||
require.True(t, ok)
|
||||
|
||||
subjects := piaTransport.TLSClientConfig.RootCAs.Subjects()
|
||||
subjects := piaTransport.TLSClientConfig.RootCAs.Subjects() //nolint:staticcheck
|
||||
assert.NotEmpty(t, subjects)
|
||||
piaCertFound := false
|
||||
for _, subject := range subjects {
|
||||
|
||||
Reference in New Issue
Block a user