Skip to content

Commit

Permalink
Create lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EncodedVenom authored Oct 6, 2024
1 parent 567699d commit d82909d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Stylua

on: [push, pull_request, workflow_dispatch]

jobs:
run:
name: Run Stylua
runs-on: ubuntu-latest

steps:
- name: Checkout Project
uses: actions/checkout@v4

- name: Run Stylua
uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes
# CLI arguments
args: --check ./src

0 comments on commit d82909d

Please sign in to comment.