mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Update ci.yaml (#140)
* Update ci.yaml * Update ci.yaml * Create lint.yml * Update ci.yaml * Update lint.yml
This commit is contained in:
parent
39e7c235bb
commit
1e633d4563
1 changed files with 20 additions and 0 deletions
20
.github/workflows/lint.yml
vendored
Normal file
20
.github/workflows/lint.yml
vendored
Normal 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
|
Loading…
Reference in a new issue