Enable kill statistics for Malfunctioning Mechsuit #550
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
name: Autoformat | |
on: | |
pull_request: | |
paths-ignore: | |
- "README.MD" | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "README.MD" | |
jobs: | |
check-format: | |
name: Enforce consistent formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Set up StyLua | |
uses: JohnnyMorganz/stylua-action@v4.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --check . --verbose | |
version: v0.17.1 | |
- name: Run autoformat | |
run: ./autoformat.sh | |
- name: Check for inconsistent formatting | |
run: git --no-pager diff --exit-code -b . #The -b is for inconsistent newlines, which we ignore (for now) |