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.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index 22e56d61..5f9db8cb 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -37,7 +37,8 @@ jobs:
run: |
GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt
+ # https://google.github.io/styleguide/shellguide.html
- name: Check formatting
run: |
- shfmt -l -d .
+ shfmt -i 2 -ci -l -d .