diff --git a/.circleci/config.yml b/.circleci/config.yml index e2db60d..4c88ace 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,8 +2,8 @@ version: 2 jobs: build: docker: - - image: cimg/go:1.21.1 - + - image: cimg/go:1.22.0 + steps: - checkout - run: go get -v -t -d ./... diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 41b35ea..5f0ac5d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ { "name": "Go", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/go:1.21-bookworm", + "image": "mcr.microsoft.com/devcontainers/go:1.22-bookworm", "customizations": { "codespaces": { diff --git a/.github/workflows/tests-and-checks.yml b/.github/workflows/tests-and-checks.yml index 2dba9c2..0e27f58 100644 --- a/.github/workflows/tests-and-checks.yml +++ b/.github/workflows/tests-and-checks.yml @@ -25,7 +25,7 @@ jobs: tests: strategy: matrix: - go: [ '~1.20', '~1.21' ] + go: [ '~1.20', '~1.21', '~1.22' ] runs-on: ubuntu-latest name: Run tests with go version ${{ matrix.go }} steps: diff --git a/Dockerfile b/Dockerfile index 9d812bf..69c0fc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG BUILDKIT_SBOM_SCAN_CONTEXT=true -FROM golang:1.22.0-alpine3.18@sha256:2745a45f77ae2e7be569934fa9a111f067d04c767f54577e251d9b101250e46b +FROM golang:1.22.0-alpine3.19@sha256:8e96e6cff6a388c2f70f5f662b64120941fcd7d4b89d62fec87520323a316bd9 WORKDIR /go/src/github.com/pmarques/ifconfig.me/ COPY go.mod /go/src/github.com/pmarques/ifconfig.me/