chore(build): use golang:1.26-alpine container instead of ubuntu-latest
release / Build and publish release (push) Failing after 41s

Switch from the full ubuntu runner image to golang:1.26-alpine via the
container: directive. Go is pre-installed so actions/setup-go is dropped;
curl, git, and jq are added with apk in the first step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 01:00:30 +02:00
parent 58cfbb4a57
commit dfbafd8ed3
+5 -4
View File
@@ -9,13 +9,14 @@ jobs:
release: release:
name: Build and publish release name: Build and publish release
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: golang:1.26-alpine
steps: steps:
- uses: actions/checkout@v4 - name: Install tools
run: apk add --no-cache curl git jq
- uses: actions/setup-go@v5 - uses: actions/checkout@v4
with:
go-version-file: go.mod
- name: Build Linux (amd64) - name: Build Linux (amd64)
env: env: