Skeleton
Some checks failed
CI / ci (pull_request) Has been cancelled

This commit is contained in:
Drew 2026-02-23 22:02:26 -08:00
parent 42e3ddacc2
commit 0edffb4855
9 changed files with 3453 additions and 0 deletions

36
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,36 @@
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
ci:
runs-on: docker
container:
image: rust:latest
steps:
- uses: actions/checkout@v4
- name: Install rustfmt and clippy
run: rustup component add rustfmt clippy
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Build
run: cargo build
- name: Format
run: cargo fmt --check
- name: Clippy
run: cargo clippy -- -D warnings