File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,17 @@ stages:
2020
2121jobs:
2222 include:
23+ - stage: Test
24+ env:
25+ - TEST: Editor Config check
26+ language: node_js
27+ node_js:
28+ - lts/*
29+ install:
30+ - npm i -g eclint
31+ script:
32+ - eclint check
33+
2334 - stage: Test
2435 env:
2536 - TEST: Doc Toc Check
3041 doctoc --title='## Table of Contents' --github README.md &&
3142 diff -q README.md README.md.tmp
3243
44+ - stage: Test
45+ env:
46+ - TEST: shfmt check
47+ script:
48+ - docker run -it --rm -v "$(pwd)":/sh -w /sh jamesmstone/shfmt -i 2 -l -w -ci .
49+ - git diff --color
50+ - git diff --stat=220 --color --exit-code
51+
3352 - stage: Test
3453 env:
3554 - TEST: Shell Check
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function update_node_version() {
3737 fullVersion=" $( curl -sSL --compressed " $baseuri " | grep ' <a href="v' " $version ." | sed -E ' s!.*<a href="v([^"/]+)/?".*!\1!' | cut -d' .' -f2,3 | sort -n | tail -1) "
3838 (
3939 cp " $template " " $dockerfile "
40- local fromprefix
40+ local fromprefix= " "
4141 if [[ " $arch " != " amd64" && " $variant " != " onbuild" ]]; then
4242 fromprefix=" $arch \\ /"
4343 fi
You can’t perform that action at this time.
0 commit comments