From c6d6df0ebce57b07d3a4b90a0e8a1433956b263b Mon Sep 17 00:00:00 2001 From: Nicholas Wiersma Date: Fri, 3 Feb 2023 07:16:02 +0200 Subject: [PATCH] chore: support Go 1.20 and min Go 1.19 (#233) --- .github/workflows/test.yml | 4 ++-- go.mod | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5f62c5f..c0c8aa02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,10 +10,10 @@ jobs: strategy: matrix: - go-version: [ 1.18, 1.19 ] + go-version: [ 1.19, "1.20" ] runs-on: ubuntu-latest env: - GOLANGCI_LINT_VERSION: v1.50.1 + GOLANGCI_LINT_VERSION: v1.51.0 steps: - name: Install Go diff --git a/go.mod b/go.mod index db54b5fc..abd45d97 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,19 @@ module github.com/hamba/avro/v2 -go 1.16 +go 1.19 require ( github.com/ettle/strcase v0.1.1 github.com/golang/snappy v0.0.4 github.com/json-iterator/go v1.1.12 github.com/mitchellh/mapstructure v1.5.0 - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 github.com/stretchr/testify v1.7.1 +) + +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect )