Files
poimen/.gitea/workflows/ci.yaml
T
2026-08-22 00:47:12 -07:00

24 lines
498 B
YAML

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: rust
steps:
- name: Checkout code
run: |
git init
git remote add origin https://forgejo.riotpiao.com/rock/poiman.git
git fetch origin ${{ github.ref_name }} --depth=1
git checkout FETCH_HEAD
- name: Check formatting
run: cargo fmt -- --check || true
- name: Clippy lint
run: cargo clippy --all-targets || true