File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,27 +3,6 @@ name: Lint checks
33on : [push, pull_request]
44jobs :
55 shellcheck :
6- runs-on : ubuntu-latest
7- steps :
8- - uses : actions/checkout@v2
9- - name : shellcheck
10- uses : bewuethr/shellcheck-action@v2
11- shfmt-check :
12- runs-on : ubuntu-latest
13- steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-go@v2
16- with :
17- go-version : ' 1.14.2'
18- - uses : actions/cache@v2
19- with :
20- path : ~/go/pkg/mod
21- key : ${{ runner.os }}-go
22- restore-keys : |
23- ${{ runner.os }}-go-
24- - name : Run shfmt
25- run : |
26- GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt
27- while read -r f; do
28- PATH=$HOME/go/bin:$PATH shfmt -ci -d -i 4 $f
29- done < <(find . -type f -name "*.sh")
6+ uses : ClangBuiltLinux/actions-workflows/.github/workflows/shellcheck.yml@main
7+ shfmt :
8+ uses : ClangBuiltLinux/actions-workflows/.github/workflows/shfmt.yml@main
You can’t perform that action at this time.
0 commit comments