Format typst files and require correct formatting of PRs #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
jobs: | |
check-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Typstyle | |
uses: taiki-e/cache-cargo-install-action@v2 | |
with: | |
tool: typstyle | |
- name: Format typst files | |
run: typstyle format-all | |
- uses: getsentry/action-git-diff-suggestions@main | |
with: | |
message: "Typstyle suggested change" |