From eaf9aab9599ae276182a5919a1fe818d6f483eaf Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Sun, 22 Oct 2023 21:04:46 +0200 Subject: [PATCH] bump Go to 1.21 (#51) --- .github/workflows/lint.yml | 2 +- Makefile | 2 +- go.mod | 2 +- go.sum | 4 ++++ manualtests/mavp2p/Dockerfile | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0b2c7b5..a47ec12 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/setup-go@v2 with: - go-version: "1.20" + go-version: "1.21" - run: | go mod download diff --git a/Makefile b/Makefile index c1acb3c..c5ad60b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BASE_IMAGE = golang:1.20-alpine3.18 +BASE_IMAGE = golang:1.21-alpine3.18 LINT_IMAGE = golangci/golangci-lint:v1.53.3 .PHONY: $(shell ls) diff --git a/go.mod b/go.mod index 8864ba8..75fc6f9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/bluenviron/mavp2p -go 1.20 +go 1.21 require ( github.com/alecthomas/kong v0.8.1 diff --git a/go.sum b/go.sum index 2b44c88..62f7c0e 100644 --- a/go.sum +++ b/go.sum @@ -1,14 +1,18 @@ bou.ke/monkey v1.0.2 h1:kWcnsrCNUatbxncxR/ThdYqbytgOIArtYWqcQLQzKLI= +bou.ke/monkey v1.0.2/go.mod h1:OqickVX3tNx6t33n1xvtTtu85YN5s6cKwVug+oHMaIA= github.com/alecthomas/assert/v2 v2.1.0 h1:tbredtNcQnoSd3QBhQWI7QZ3XHOVkw1Moklp2ojoH/0= +github.com/alecthomas/assert/v2 v2.1.0/go.mod h1:b/+1DI2Q6NckYi+3mXyH3wFb8qG37K/DuK80n7WefXA= github.com/alecthomas/kong v0.8.1 h1:acZdn3m4lLRobeh3Zi2S2EpnXTd1mOL6U7xVml+vfkY= github.com/alecthomas/kong v0.8.1/go.mod h1:n1iCIO2xS46oE8ZfYCNDqdR0b0wZNrXAIAqro/2132U= github.com/alecthomas/repr v0.1.0 h1:ENn2e1+J3k09gyj2shc0dHr/yjaWSHRlrJ4DPMevDqE= +github.com/alecthomas/repr v0.1.0/go.mod h1:2kn6fqh/zIyPLmm3ugklbEi5hg5wS435eygvNfaDQL8= github.com/bluenviron/gomavlib/v2 v2.1.1 h1:jh39fb+BIRSx/V0sqM3Gqd/3QNwWAo7wDhYa3HQaaoY= github.com/bluenviron/gomavlib/v2 v2.1.1/go.mod h1:L35uZ/Yvp9ogsHwUZmIniKMVZ4gm3oK+Gwev3D7iVQU= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/pion/logging v0.2.2/go.mod h1:k0/tDVsRCX2Mb2ZEmTqNa7CWsQPc+YYCB7Q+5pahoms= github.com/pion/transport/v2 v2.2.4 h1:41JJK6DZQYSeVLxILA2+F4ZkKb4Xd/tFJZRFZQ9QAlo= github.com/pion/transport/v2 v2.2.4/go.mod h1:q2U/tf9FEfnSBGSW6w5Qp5PFWRLRj3NjLhCCgpRK4p0= diff --git a/manualtests/mavp2p/Dockerfile b/manualtests/mavp2p/Dockerfile index 3f6177e..ea4b5c6 100644 --- a/manualtests/mavp2p/Dockerfile +++ b/manualtests/mavp2p/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 +FROM golang:1.21 WORKDIR /src