Update ci.yaml (#140)

* Update ci.yaml

* Update ci.yaml

* Create lint.yml

* Update ci.yaml

* Update lint.yml
This commit is contained in:
EncodedVenom 2024-10-05 21:36:07 -04:00 committed by GitHub
parent 39e7c235bb
commit 1e633d4563
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
.github/workflows/lint.yml vendored Normal file
View file

@ -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: ./src