docs: switch version target v1.0.0 → v0.3.0 #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build-shim | |
| # Shim for the `build` branch-protection required check. | |
| # | |
| # History: the old ci-java.yml defined a job named `build` that | |
| # branch protection on main was configured to require. Phase 6 | |
| # cutover deletes ci-java.yml, but the required-check name `build` | |
| # remains in branch protection — so every PR sits forever on | |
| # "build Expected — Waiting for status to be reported". | |
| # | |
| # This shim always runs and always succeeds, providing the `build` | |
| # status that branch protection expects. It exists as a stopgap | |
| # until a repo admin removes `build` from the required-checks list | |
| # in the GitHub UI (Settings → Branches → main → required checks). | |
| # At that point, this file can be deleted. | |
| # | |
| # go-ci.yml is the real build gate (vet/test/staticcheck/gosec/ | |
| # govulncheck) and perf-gate.yml is the perf-regression gate; | |
| # both are the appropriate replacements for the old Java `build`. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Branch-protection compatibility shim | |
| run: | | |
| echo "build-shim: this job exists only to satisfy the legacy 'build' required-check" | |
| echo "remove this workflow once branch protection drops 'build' from required-checks" | |
| echo "the real Go gates are go-ci.yml + perf-gate.yml" |