diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index f1dd81d..8c9c71e 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -2,10 +2,14 @@ name: StyLua on: [push, pull_request] jobs: StyLua check: - - uses: actions/checkout@v3 - - uses: JohnnyMorganz/stylua-action@v3 - with: - token: ${{ secrets.GH_TOKEN }} - version: v0.8.2 # NOTE: we recommend pinning to a specific version in case of formatting changes - # CLI arguments - args: --check . + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: StyLua check + uses: JohnnyMorganz/stylua-action@v3 + with: + token: ${{ secrets.GH_TOKEN }} + version: v0.8.2 # NOTE: we recommend pinning to a specific version in case of formatting changes + # CLI arguments + args: --check .