Skip to content

update current line #29

update current line

update current line #29

Workflow file for this run

name: Format
on:
push:
branches:
- main
# Cancel any in-progress CI runs for a PR if it is updated
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
format:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: 0.19.0
args: --config-path=.stylua.toml lua/ test/
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: formatting"
file_pattern: lua/ test/