File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Check Shell scripts
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " **/*.sh"
7+
8+ jobs :
9+ shfmt :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v1
13+ - run : docker run -v "$(pwd)":/sh -w /sh peterdavehello/shfmt:2.6.3 shfmt -sr -i 2 -l -w -ci .
14+ - run : git diff --color --exit-code
15+
16+ shellcheck :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v1
20+ - run : shellcheck *.sh
Original file line number Diff line number Diff line change 5757 script :
5858 - find . -name "*.md" | xargs -n 1 markdown-link-check
5959
60- - stage : Test
61- name : shfmt check
62- script :
63- - docker run -it --rm -v "$(pwd)":/sh -w /sh peterdavehello/shfmt:2.6.3 shfmt -sr -i 2 -l -w -ci .
64- - git diff --color
65- - git diff --stat=220 --color --exit-code
66-
67- - stage : Test
68- name : Shell Check
69- script : shellcheck *.sh
70-
7160 - stage : Test
7261 name : .travis.yml and travis.yml.template consistency
7362 script :
Original file line number Diff line number Diff line change 5555 script:
5656 - find . -name "*.md" | xargs -n 1 markdown-link-check
5757
58- - stage: Test
59- name: shfmt check
60- script:
61- - docker run -it --rm -v "$(pwd)":/sh -w /sh peterdavehello/shfmt:2.6.3 shfmt -sr -i 2 -l -w -ci .
62- - git diff --color
63- - git diff --stat=220 --color --exit-code
64-
65- - stage: Test
66- name: Shell Check
67- script: shellcheck *.sh
68-
6958 - stage: Test
7059 name: .travis.yml and travis.yml.template consistency
7160 script:
You can’t perform that action at this time.
0 commit comments