Mark 45410e120e
Some checks failed
Lints / typstyle (push) Failing after 15s
Lints / typos (push) Successful in 18s
Build and deploy / build (push) Failing after 8m54s
Added typstyle action
2025-01-21 20:07:56 -08:00

32 lines
714 B
YAML

on:
push:
pull_request:
name: Lints
jobs:
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check typos
uses: crate-ci/typos@master
with:
config: ./tools/typos.toml
typstyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Download Typstyle"
run: |
wget -q "https://github.com/Enter-tainer/typstyle/releases/download/v0.12.14/typstyle-x86_64-unknown-linux-musl"
chmod +x typstyle-x86_64-unknown-linux-musl
- name: Check typst formatting
run: |
./typstyle-x86_64-unknown-linux-musl \
$(find . -name "*.typ") \
--check