Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typstyle GitHub Action

GitHub Action to run typstyle, a Typst formatter.

Usage

  1. Create .github/workflows/ci.yml
  2. Configure ci.yml
  3. Commit and push ci.yml

Examples

The following formats all .typ files in branch main on pushes, then pushes the changes. .github/workflows/ci.yml

---
name: CI
on:
  push:
    branches: main
jobs:
  typstyle:
    runs-on: ubuntu-24.04
    permissions:
      contents: write
    steps:
      - name: Checkout
        uses: actions/checkout@v6
        with:
          ref: ${{ github.head_ref }}
      - name: Run typstyle
        uses: typstyle-rs/typstyle-action@v1.0.1
      - name: Push
        uses: stefanzweifel/git-auto-commit-action@v7.1.0
        with:
          commit_message: "style: format using typstyle"

Reporting Issues

Please use GitHub Issues to report bugs, crashes, and other issues.

License

typstyle-action is under the MIT License.

About

GitHub action for typstyle

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages