summaryrefslogtreecommitdiff
path: root/.github/workflows/format.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/format.yaml')
-rw-r--r--.github/workflows/format.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index b63b89d7..64da97e6 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -15,20 +15,21 @@ jobs:
name: "Formatting check with Stylua"
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Lint with stylua
- uses: JohnnyMorganz/[email protected]
+ uses: JohnnyMorganz/stylua-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# CLI arguments
+ version: 0.15.1
args: --check .
shfmt-check:
name: "Formatting check with shfmt"
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v2