ci: add Gitea Actions workflow
Build is blocking; vet and test are informative (pre-existing failures). .github/workflows is left untouched for GitHub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2b557d69ad
commit
9db70ad1be
1 file changed
+35
@@ -0,0 +1,35 @@
|
|||||||
|
# Gitea Actions CI (banquise runner, Kubernetes backend). Gitea reads .gitea/workflows first
|
||||||
|
# and then ignores .github/workflows, which keeps serving GitHub (Docker Hub image builds via
|
||||||
|
# the push mirror). Image builds are NOT duplicated here.
|
||||||
|
name: ci
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
env:
|
||||||
|
CGO_ENABLED: "0"
|
||||||
|
GOFLAGS: -mod=vendor
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ci:
|
||||||
|
runs-on: banquise-amd64
|
||||||
|
steps:
|
||||||
|
- uses: builtin:checkout
|
||||||
|
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
||||||
|
with:
|
||||||
|
go-version-file: go.mod
|
||||||
|
cache: false # vendor/ is committed, nothing to download
|
||||||
|
- name: build
|
||||||
|
run: go build -o /tmp/rc-simulator ./cmd/rc-simulator/
|
||||||
|
# vet and test have pre-existing failures (2026-10-10): informative until fixed,
|
||||||
|
# then drop continue-on-error to make them blocking.
|
||||||
|
- name: vet
|
||||||
|
continue-on-error: true
|
||||||
|
run: go vet ./...
|
||||||
|
- name: test
|
||||||
|
continue-on-error: true
|
||||||
|
run: go test -timeout 5m ./...
|
||||||
Reference in new issue
Block a user