Added typstyle action
This commit is contained in:
15
.github/workflows/lints.yml
vendored
15
.github/workflows/lints.yml
vendored
@ -13,3 +13,18 @@ jobs:
|
||||
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: |
|
||||
find . -type f -print0 | xargs -0 \
|
||||
./typstyle-x86_64-unknown-linux-musl --check
|
||||
|
Reference in New Issue
Block a user