Files
varde/.gitea/workflows/ci.yml
T
Bendik Aagaard LynghaugandClaude Opus 4.8 4ff007e403
ci / quality (push) Failing after 53s
ci: v4 builtin:checkout in ci + release (no Node, no token-in-URL)
builtin:checkout is native Go, so the rust:1 container needs no Node and the
job token no longer rides in the fetch URL (was visible in process args).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-28 13:39:06 +02:00

29 lines
776 B
YAML

# Gitea Actions mirror of the Woodpecker quality bar (.ci/woodpecker.yaml):
# fmt, clippy -D warnings, full test suite.
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
quality:
runs-on: ubuntu-latest
container: rust:1
steps:
# v4 built-in checkout: native Go, needs no Node (rust:1 has none) and
# keeps the token out of a fetch URL. Uses the job token for the private repo.
- name: checkout
uses: builtin:checkout
- name: rustfmt
run: |
rustup component add rustfmt
cargo fmt --all --check
- name: clippy
run: |
rustup component add clippy
cargo clippy --workspace --all-targets -- -D warnings
- name: test
run: cargo test --workspace