Skip to content

Commit

Permalink
Add linting pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonVanAssche committed Jul 19, 2024
1 parent a1cc1fd commit 98fbcbf
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Lint

on:
push:
branches:
- '*'
pull_request:
branches:
- master

jobs:
stylua:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v3
with:
version: latest
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always --check lua

0 comments on commit 98fbcbf

Please sign in to comment.