diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 81869436..c629f344 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,7 +11,7 @@ jobs: build: strategy: matrix: - go-version: [1.19.x, 1.20.x] + go-version: [1.20.x, 1.21.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} name: "Build ${{ matrix.go-version }} test on ${{ matrix.platform }}" diff --git a/README.md b/README.md index ecf4f785..c4da5dfa 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Please see our [Docker documentation](doc/docker.md). ### Installation from source or Git -You need the Go compiler (1.19+). You can get it at the [Go +You need the Go compiler (1.20+). You can get it at the [Go website](https://golang.org). The easiest way is via `go install`: diff --git a/pkg/geoipupdate/config_test.go b/pkg/geoipupdate/config_test.go index 0c4b1227..7f3cea86 100644 --- a/pkg/geoipupdate/config_test.go +++ b/pkg/geoipupdate/config_test.go @@ -828,7 +828,8 @@ func TestValidateConfig(t *testing.T) { for _, test := range tests { t.Run(test.Description, func(t *testing.T) { - err := validateConfig(&test.Config) + config := test.Config + err := validateConfig(&config) if test.Err == "" { assert.NoError(t, err, test.Description) } else {