Hot-reload game using lurker
and lume
libraries
#1
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
# Copied from hrsh7th/nvim-cmp/.github/workflows/format.yaml | |
name: format | |
on: | |
push: | |
branches: | |
- '*' # Runs on any branch when changes are pushed | |
paths: | |
- '**.lua' | |
pull_request: | |
branches: | |
- '*' # Runs when a PR targets any branch | |
paths: | |
- '**.lua' | |
jobs: | |
postprocessing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Format with Stylua | |
uses: JohnnyMorganz/stylua-action@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: v0.16.1 | |
args: ./lua | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Format with stylua" |