Skip to content

Commit

Permalink
ci: split out lint action jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Dec 8, 2022
1 parent cb2d7df commit cd55278
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ on:
- main
pull_request:
jobs:
lint:
name: Lint and style check
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v4
stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -16,7 +22,12 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check .
luacheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: Jayrgo/luacheck-action@v1
with:
files: '.'
- uses: wagoid/commitlint-github-action@v4

0 comments on commit cd55278

Please sign in to comment.