c52c3b1238
ci / quality (push) Failing after 1m43s
- release.toml: one shared workspace version, single vX.Y.Z tag, full test suite as the pre-release gate, no crates.io publishing. - .gitea/workflows/ci.yml: the Woodpecker quality bar (fmt, clippy -D warnings, tests) for repos served by act_runner. - .gitea/workflows/release.yml: on a version tag, build stripped release binaries for x86_64 and aarch64 Linux, bundle them with the systemd units, rendered man pages and example config, and attach the tarballs (+ sha256) to a Gitea release via the API. - dist/PKGBUILD: point at the repo's new home on project.uhhm.no. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
26 lines
594 B
YAML
26 lines
594 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:
|
|
- uses: actions/checkout@v4
|
|
- 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
|