Skip to content

Fix broken CI: update Go, actions, and Dockerfile#37

Merged
christophetd merged 2 commits into
mainfrom
fix/update-ci-and-go-version
Mar 5, 2026
Merged

Fix broken CI: update Go, actions, and Dockerfile#37
christophetd merged 2 commits into
mainfrom
fix/update-ci-and-go-version

Conversation

@christophetd

@christophetd christophetd commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump Go from 1.18/1.19 to 1.22 across all CI workflows and the Dockerfile
  • Update GitHub Actions to non-deprecated versions (actions/checkout@v4, actions/setup-go@v5, docker/login-action@v3, docker/build-push-action@v6)
  • Update staticcheck to 2024.1.1
  • Bump Dockerfile base images from Alpine 3.16 to 3.20

Why

  • Static analysis was failing because actions/checkout@v1 pulled in actions/cache@v2, which GitHub has fully deprecated and now auto-rejects
  • Docker build was failing because Go 1.19 can't parse go 1.23.0 format in go.mod (from auto-upgrade PRs)

Test plan

  • go build ./... passes locally
  • make test passes locally
  • CI workflows pass on this PR

- Bump Go from 1.18/1.19 to 1.22 across CI and Dockerfile
- Update actions/checkout to v4, actions/setup-go to v5
- Update staticcheck to 2024.1.1
- Update docker actions (login-action v3, build-push-action v6)
- Bump Dockerfile base images to Alpine 3.20

The static analysis workflow was failing because actions/checkout@v1
depended on actions/cache@v2 which GitHub has deprecated. The Docker
build was failing with newer go.mod formats incompatible with Go 1.19.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 642cd18607

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Dockerfile
- Bump goreleaser-action to v6 with version ~> v2
- Replace --rm-dist with --clean
- Rename brews.repository to brews.tap
- Add version: 2 to goreleaser config

@raesene raesene left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@christophetd
christophetd merged commit 438db2c into main Mar 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants