Files
IxianPixel 38319e0987
CI / test (push) Successful in 54s
Updated workflow for Gitflow
2026-11-06 15:32:39 +00:00

22 lines
814 B
YAML

name: CI
# Gitflow: pushes to master and develop run here. Feature, release and hotfix
# branches are checked through their pull request, so they don't run twice.
# Tags aren't matched: release.yml runs the tests again for them.
on:
push:
branches: [master, develop]
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