Skip to content

ci: standardize on go 1.22.12 #17047

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

Merged
merged 4 commits into from
Mar 24, 2025
Merged

ci: standardize on go 1.22.12 #17047

merged 4 commits into from
Mar 24, 2025

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Mar 21, 2025

The version of Go in our dogfood Dockerfile was seemingly unintentionally bumped in #16894

We need to keep our various Go versions in sync, otherwise things get confusing:

  • dogfood/coder/Dockerfile
  • flake.nix
  • go.mod
  • .github/actions/setup-go/action.yaml

@johnstcn johnstcn self-assigned this Mar 21, 2025
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

it makes me sad but I will allow it

@spikecurtis spikecurtis mentioned this pull request Mar 24, 2025
1 task
@johnstcn johnstcn changed the title chore(dogfood/coder/Dockerfile): revert bump of Go version ci: standardize on go 1.22.12 Mar 24, 2025
@johnstcn johnstcn force-pushed the cj/dogfood-go-revert-bump branch from b2a8edc to d0c9cf8 Compare March 24, 2025 11:57
@@ -2,14 +2,14 @@ FROM rust:slim@sha256:9abf10cc84dfad6ace1b0aae3951dc5200f467c593394288c11db1e17b
# Install rust helper programs
# ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
ENV CARGO_INSTALL_ROOT=/tmp/
RUN cargo install exa bat ripgrep typos-cli watchexec-cli && \
RUN cargo install typos-cli watchexec-cli && \
Copy link
Member Author

Choose a reason for hiding this comment

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

review: bat was failing to build for me locally, but bat, exa, and ripgrep can now be installed via apt.

Comment on lines -68 to -70
# go-fuzz for fuzzy testing. they don't publish releases so we rely on latest.
go install github.com/dvyukov/go-fuzz/go-fuzz@latest && \
go install github.com/dvyukov/go-fuzz/go-fuzz-build@latest && \
Copy link
Member Author

Choose a reason for hiding this comment

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

review: this was failing to build with a tools dependency issue but it doesn't seem to be required since go 1.18?

@johnstcn johnstcn requested a review from spikecurtis March 24, 2025 11:59
@johnstcn johnstcn merged commit 445a059 into main Mar 24, 2025
32 checks passed
@johnstcn johnstcn deleted the cj/dogfood-go-revert-bump branch March 24, 2025 16:00
@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants