Skip to content

grayespinoza/tex-fmt-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tex-fmt GitHub Action

GitHub Action to run tex-fmt, a LaTeX formatter.

Usage

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

Examples

The following formats all .tex, .bib, .cls, and .sty files in branch main on pushes, then pushes the changes. .github/workflows/ci.yml

name: CI
on:
  push:
    branches: main

jobs:
  tex-fmt:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
    - name: Checkout
      uses: actions/checkout@main
      with:
        ref: ${{ github.head_ref }}
    - name: Run tex-fmt
      uses: grayespinoza/tex-fmt-action@main
    - name: Push
      uses: stefanzweifel/git-auto-commit-action@master
      with:
        commit_message: "style: format using tex-fmt"

Reporting Issues

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

License

tex-fmt-action is under the MIT License.

About

GitHub action for tex-fmt

Topics

Resources

License

Stars

Watchers

Forks