init
Some checks failed
CI / ci (push) Failing after 1m48s

This commit is contained in:
2026-08-25 23:24:36 +02:00
commit 95739892de
466 changed files with 33918 additions and 0 deletions

43
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,43 @@
name: CI
on:
push:
branches: ["*"]
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: oven-sh/setup-bun@v2
- name: Build frontend
run: cd spa && bun install --frozen-lockfile && bun run build
- name: Check formatting
run: |
cargo fmt --all -- --check
cd spa && bun run check
- name: Clippy
run: cargo clippy --workspace -- -D warnings
- name: Tests
run: cargo test --workspace
- name: TypeScript
run: cd spa && bun run typecheck