Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to Go 1.22 #21

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```