wikidata/.forgejo/workflows/test.yml
2025-08-25 16:01:07 -07:00

19 lines
506 B
YAML

on: [push]
name: Build/test
jobs:
build_and_test:
name: Build and test
runs-on: bookworm
steps:
- uses: actions/checkout@v5
- uses: https://github.com/dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets --all-features -- -D warnings
- run: cargo test --all-features