Skip to content

Commit

Permalink
ci: add lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aire-One committed Oct 24, 2024
1 parent 8c77807 commit 4209907
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Lint

on:
push:
pull_request:

jobs:
luacheck:

Check warning on line 8 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (luacheck)

Check warning on line 8 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (luacheck)
needs: []
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lunarmodules/luacheck@v1

Check warning on line 13 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (lunarmodules)

Check warning on line 13 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (luacheck)

Check warning on line 13 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (lunarmodules)

Check warning on line 13 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (luacheck)

stylua:

Check warning on line 15 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (stylua)

Check warning on line 15 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (stylua)
needs: []
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4

Check warning on line 20 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Morganz)

Check warning on line 20 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (stylua)

Check warning on line 20 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Morganz)

Check warning on line 20 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (stylua)
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.20.0
args: --check .

spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v6

0 comments on commit 4209907

Please sign in to comment.