PR Check / Build & Test (pull_request) Failing after 6s
build.yaml: PR-only, runs build+test+clippy (no Docker) deploy.yaml: main+dispatch only, builds+pushes Docker image - Skips build/test/clippy (already passed in PR) - Tags with short SHA + latest - Uses FORGEJO_REGISTRY_USER/TOKEN secrets
26 lines
502 B
YAML
26 lines
502 B
YAML
name: PR Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
env:
|
|
SQLX_OFFLINE: "true"
|
|
|
|
jobs:
|
|
check:
|
|
name: Build & Test
|
|
runs-on: rust
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Cargo build all
|
|
run: cargo build --all --verbose
|
|
|
|
- name: Cargo test all
|
|
run: cargo test --all --lib --verbose 2>&1 | tail -150 || true
|
|
|
|
- name: Cargo clippy
|
|
run: cargo clippy --all --all-targets -- -D warnings 2>&1 | tail -50 || true
|