Skip to content

Commit

Permalink
Update go to v1.22 and alpine to 3.19 (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarques authored Feb 12, 2024
2 parents a44c62d + cba48ca commit c3e094b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-and-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit c3e094b

Please sign in to comment.