Some checks failed
check / check (push) Failing after 35s
Adds ci/build.sh + ci/bread-ecosystem.rev (pinned to bread-ecosystem 147cfbbf96ae4b171027defa1130d2caddb934b1), points the three release workflows' build step through it, and adds check.yml as breadarr's first lint/test gate on feature/fix branches. No ci/deps.txt: verified ort-sys's build.rs has no system build-time requirements beyond rust/base-devel (its download-binaries feature is pure-Rust ureq/lzma-rust2/hmac-sha256).
24 lines
695 B
YAML
24 lines
695 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 --workspace --all-targets --locked -- -D warnings
|
|
|
|
- name: test
|
|
run: cd src && bash ci/build.sh cargo test --workspace --locked
|