Checkout v6.0.1 was released yesterday (Dec 2, 2025) and is causing CI failures across all workflows. The v6 release requires minimum GitHub Actions Runner v2.329.0 for Docker container scenarios and likely has edge cases causing failures. Downgrading to v4.2.2 (stable release from Oct 2024) to restore CI stability. Can re-evaluate v6 after it matures. Affects 16 checkout action references across 12 workflow files: - quality-checks.yml - waf-integration.yml - docker-publish.yml - codecov-upload.yml - codeql.yml - benchmark.yml - docs.yml - release-goreleaser.yml - auto-versioning.yml - docker-lint.yml - auto-changelog.yml - renovate.yml
60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
name: Release (GoReleaser)
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
permissions:
|
|
contents: write
|
|
packages: write
|
|
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
# Use the built-in CHARON_TOKEN by default for GitHub API operations.
|
|
# If you need to provide a PAT with elevated permissions, add a CHARON_TOKEN secret
|
|
# at the repo or organization level and update the env here accordingly.
|
|
CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
|
|
with:
|
|
go-version: '1.25.5'
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
|
|
with:
|
|
node-version: '24.11.1'
|
|
|
|
- name: Build Frontend
|
|
working-directory: frontend
|
|
run: |
|
|
# Inject version into frontend build from tag (if present)
|
|
VERSION=$${GITHUB_REF#refs/tags/}
|
|
echo "VITE_APP_VERSION=$$VERSION" >> $GITHUB_ENV
|
|
npm ci
|
|
npm run build
|
|
|
|
- name: Install Cross-Compilation Tools (Zig)
|
|
uses: goto-bus-stop/setup-zig@v2
|
|
with:
|
|
version: 0.13.0
|
|
|
|
# CHARON_TOKEN is set from CHARON_TOKEN or CPMP_TOKEN (fallback), defaulting to GITHUB_TOKEN
|
|
|
|
|
|
- name: Run GoReleaser
|
|
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6
|
|
with:
|
|
distribution: goreleaser
|
|
version: latest
|
|
args: release --clean
|
|
# CGO settings are handled in .goreleaser.yaml via Zig
|