Skip to content

Commit

Permalink
Update ci.yaml (#140)
Browse files Browse the repository at this point in the history
* Update ci.yaml

* Update ci.yaml

* Create lint.yml

* Update ci.yaml

* Update lint.yml
  • Loading branch information
EncodedVenom authored Oct 6, 2024
1 parent 39e7c23 commit 1e633d4
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: ./src

0 comments on commit 1e633d4

Please sign in to comment.