Files
outline/.github/workflows/ci.yml
T
henning f559824c05 ci: add rust-cache and fix branch name for Gitea
- Add Swatinem/rust-cache@v2 to speed up CI builds
- Change branch trigger from 'main' to 'master' to match Gitea repo
2026-07-30 17:36:55 +02:00

24 lines
502 B
YAML

name: CI
on:
push:
branches: [master]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- run: cargo fmt --check
- run: cargo clippy --all-features --all-targets -- -D warnings
- run: cargo test --all-features
- run: cargo doc --no-deps --all-features