Add Gitea Actions workflow: ci.yml
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-01-31 23:00:06 +00:00
parent f74fab6b40
commit e0d5c9872d

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

@@ -0,0 +1,28 @@
name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build project
run: cargo build --all
- name: Run tests
run: cargo test --all
- name: Run clippy
run: cargo clippy --all -- -D warnings