act
Some checks failed
CI / Typst formatting (push) Successful in 9s
CI / Typos (push) Successful in 13s
CI / Build (push) Failing after 8m54s

This commit is contained in:
Mark 2025-01-21 20:41:54 -08:00
parent df28a09214
commit cdd94b9cb7
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
2 changed files with 33 additions and 33 deletions

View File

@ -1,12 +1,42 @@
name: CI
on:
push:
pull_request:
workflow_run:
name: Build and deploy
jobs:
typos:
name: "Typos"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check typos
uses: crate-ci/typos@master
with:
config: ./tools/typos.toml
typstyle:
name: "Typst formatting"
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 . -name "*.typ" -type f -print0 | xargs -0 \
./typstyle-x86_64-unknown-linux-musl --check
build:
needs:
- typos
- typstyle
name: "Build"
runs-on: ubuntu-latest
permissions:
contents: write

View File

@ -1,30 +0,0 @@
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: |
find . -name "*.typ" -type f -print0 | xargs -0 \
./typstyle-x86_64-unknown-linux-musl --check