diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d160d9b9..41d044de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,9 @@ jobs: security-events: write steps: - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: "^1.22" - uses: github/codeql-action/init@v3 with: languages: go diff --git a/Dockerfile b/Dockerfile index 654579b3..08486af1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG ALPINE_VERSION=3.18 ARG GO_ALPINE_VERSION=3.18 -ARG GO_VERSION=1.21 +ARG GO_VERSION=1.22 ARG XCPUTRANSLATE_VERSION=v0.6.0 ARG GOLANGCI_LINT_VERSION=v1.56.2 ARG MOCKGEN_VERSION=v1.6.0 diff --git a/go.mod b/go.mod index 903ed6ad..27e68476 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/qdm12/gluetun -go 1.21 +go 1.22 require ( github.com/breml/rootcerts v0.2.16 diff --git a/go.sum b/go.sum index d5964950..7c13a009 100644 --- a/go.sum +++ b/go.sum @@ -123,8 +123,6 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=