Skip to content

Commit 80e11f7

Browse files
committed
Clean up some things in the GitHub build
1. Use the "stable" identifier in the Go setup action. 2. Use a Go 1.24 Dockerfile. I added GOTOOLCHAIN=auto right after 1.24 was released and there was no official image, but now we can switch over and shorten the build a little. 3. Use the latest Dockerfile frontend.
1 parent fb3449d commit 80e11f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/mainline.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: actions/checkout@v4
1414
- name: Install Go
1515
uses: actions/setup-go@v5
16-
with: { go-version: "1.24" }
16+
with: { go-version: stable }
1717
- name: Run Tests
1818
run: go test -v -race ./...
1919
- name: Set up Docker Buildx

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# syntax = docker.io/docker/dockerfile:1.13
1+
# syntax = docker.io/docker/dockerfile:1.14
22

33
ARG ALPINE_BASE=docker.io/library/alpine:3.21
4-
ARG GOLANG_BASE=docker.io/library/golang:1.23-alpine3.21
4+
ARG GOLANG_BASE=docker.io/library/golang:1.24-alpine3.21
55

66

77
FROM --platform=$BUILDPLATFORM $GOLANG_BASE AS build

0 commit comments

Comments
 (0)