From cd552784eeeae61644fec60f6cc52c267dbddc73 Mon Sep 17 00:00:00 2001 From: Anders Evenrud Date: Thu, 8 Dec 2022 22:09:48 +0100 Subject: [PATCH] ci: split out lint action jobs --- .github/workflows/lint.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d6d9e12..fff51b2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 @@ -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