mirror of
https://github.com/storytold/craft-fonts.git
synced 2026-11-10 03:02:20 +00:00
ci(deps): bump actions/checkout from 4 to 7 in the actions group across 1 directory
31 lines
788 B
YAML
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
|