Files
Dylan M. Taylor aced4137c0 Merge pull request #38 from storytold/dependabot/github_actions/actions-640176b5ab
ci(deps): bump actions/checkout from 4 to 7 in the actions group across 1 directory
2026-10-25 12:29:53 -04:00

31 lines
788 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@89b12181fb390509a0842a86cc55eeb8eb928c1d # stable
with:
components: rustfmt, clippy
- name: fmt
run: cargo fmt --all --check
- name: clippy
run: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
- name: test
run: cargo test --workspace --locked
- name: test (embed)
run: cargo test -p craft-fonts --features embed --locked
- name: test (embed-latin)
run: cargo test -p craft-fonts --features embed-latin --locked