Skip to content

Commit

Permalink
feat: update to Go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
ryboe committed Feb 25, 2024
1 parent 09692a9 commit 7eef101
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
matrix:
go-version:
- "1.20"
- "1.21"
- "1.22"
steps:
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ on:
- main

env:
LATEST_GO_VERSION: "1.21"
LATEST_GO_VERSION: "1.22"

jobs:
build_and_upload_image:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- "1.20"
- "1.21"
- "1.22"
steps:
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ These development tools are preinstalled:
// .devcontainer/devcontainer.json
{
"name": "My Go Codespace",
"image": "ghcr.io/ryboe/gocodespace:1.20",
"image": "ghcr.io/ryboe/gocodespace:1.22",
// dlv needs these capabilities. It needs to run the ptrace (process trace)
// syscall, and we need to disable the default seccomp profile applied to
// docker containers.
Expand Down Expand Up @@ -69,5 +69,5 @@ docker builder create --driver docker-container --name mybuilder --use --bootstr
# need to copy any files from this repo into the container. The only
# thing we need is the Dockerfile, which we're passing by redirecting
# it to stdin.
docker image build --load --build-arg GO_VERSION=1.20 --platform linux/amd64 --tag mygocodespace - < Dockerfile
docker image build --load --build-arg GO_VERSION=1.22 --platform linux/amd64 --tag mygocodespace - < Dockerfile
```

0 comments on commit 7eef101

Please sign in to comment.