Files
Jellymove/.github/workflows/ci.yml
T
IxianPixel 577715bb40
CI / test (push) Successful in 2m20s
Release / release (push) Successful in 10m28s
Prepared things for Docker
2026-11-06 12:10:53 +00:00

21 lines
725 B
YAML

name: CI
# Branch pushes only: a version tag points at a commit CI has already checked
# on its branch, and release.yml runs the tests again for tags.
on:
push:
branches: ["**"]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 22, cache: npm, cache-dependency-path: ui/package-lock.json }
- run: npm --prefix ui ci && npm --prefix ui run check && npm --prefix ui run build
- uses: dtolnay/rust-toolchain@stable
with: { components: clippy }
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo test --workspace