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
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
name: Go Benchmark
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- development
|
|
paths:
|
|
- 'backend/**'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- development
|
|
paths:
|
|
- 'backend/**'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
deployments: write
|
|
|
|
jobs:
|
|
benchmark:
|
|
name: Performance Regression Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
|
|
with:
|
|
go-version: '1.25.5'
|
|
cache-dependency-path: backend/go.sum
|
|
|
|
- name: Run Benchmark
|
|
working-directory: backend
|
|
run: go test -bench=. -benchmem ./... | tee output.txt
|
|
|
|
- name: Store Benchmark Result
|
|
uses: benchmark-action/github-action-benchmark@v1
|
|
with:
|
|
name: Go Benchmark
|
|
tool: 'go'
|
|
output-file-path: backend/output.txt
|
|
github-token: ${{ secrets.CHARON_TOKEN }}
|
|
auto-push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
# Show alert with commit comment on detection of performance regression
|
|
alert-threshold: '150%'
|
|
comment-on-alert: true
|
|
fail-on-alert: false
|
|
# Enable Job Summary for PRs
|
|
summary-always: true
|