Some checks failed
check / check (push) Failing after 39s
Mirrors breadpad's proven pattern: ci/build.sh wraps bread-ecosystem's shared ci/build.sh, pinned by commit sha in ci/bread-ecosystem.rev (rev 147cfbbf96ae4b171027defa1130d2caddb934b1). No ci/deps.txt — the shared image's gtk4/libadwaita/gtk4-layer-shell/graphene set already covers breadhelp's dependency surface (no libadwaita or extra native libs beyond those). dev-release.yml/rc-release.yml/release.yml now build (and, in dev-release.yml, test) through ci/build.sh instead of bare cargo on the runner; a new check.yml runs clippy+test on feature/**/fix/** pushes as a fast pre-release signal.
24 lines
671 B
YAML
24 lines
671 B
YAML
name: check
|
|
|
|
# Fast-fail lint/test on short-lived work branches, before it ever reaches
|
|
# main and triggers a dev-track release build.
|
|
on:
|
|
push:
|
|
branches: ['feature/**', 'fix/**']
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: [self-hosted, hestia]
|
|
steps:
|
|
- name: checkout
|
|
run: |
|
|
set -euo pipefail
|
|
rm -rf src && mkdir src
|
|
git clone --branch "${GITHUB_REF_NAME}" --depth 1 \
|
|
"https://git.breadway.dev/${GITHUB_REPOSITORY}.git" src
|
|
|
|
- name: clippy
|
|
run: cd src && bash ci/build.sh cargo clippy --all-targets --locked -- -D warnings
|
|
|
|
- name: test
|
|
run: cd src && bash ci/build.sh cargo test --locked
|