From 87c72c0b2abaed034d921791fa93b84ccbd94c9a Mon Sep 17 00:00:00 2001 From: Russell Cloran Date: Sun, 6 Aug 2023 16:44:46 -0700 Subject: [PATCH] Specify stylua minor version in CI scripts JohnnyMorganz/stylua-action#49 allows us to use semver ranges. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1a3a3f..56aa6dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: JohnnyMorganz/stylua-action@v2 + - uses: JohnnyMorganz/stylua-action@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - version: latest + version: 0.18 args: --check . build: needs: [luacheck, stylua] # Only build good code