File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,18 @@ permissions:
1414 packages : read
1515
1616jobs :
17+ shellcheck :
18+ name : ShellCheck
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout code
22+ uses : actions/checkout@v6
23+
24+ - name : Run ShellCheck
25+ uses : ludeeus/action-shellcheck@master
26+ with :
27+ scandir : " scripts"
28+
1729 static-analysis :
1830 name : Static Analysis
1931 runs-on : ubuntu-latest
4052
4153 build :
4254 name : Build with PlatformIO
43- needs : static-analysis
55+ needs : [shellcheck, static-analysis]
4456 runs-on : ubuntu-latest
4557
4658 steps :
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ docker run --rm \
1111 -w /workspace \
1212 -v " $( pwd) /.pio:/tmp/.platformio" \
1313 -e PLATFORMIO_CORE_DIR=/tmp/.platformio \
14- -u $( id -u) :$( id -g) \
14+ -u " $( id -u) :$( id -g) " \
1515 " $IMAGE_NAME " ${PIO_BIN} run
1616
1717docker run --rm \
1818 -v " $( pwd) :/workspace" \
1919 -w /workspace \
2020 -v " $( pwd) /.pio:/tmp/.platformio" \
2121 -e PLATFORMIO_CORE_DIR=/tmp/.platformio \
22- -u $( id -u) :$( id -g) \
22+ -u " $( id -u) :$( id -g) " \
2323 " $IMAGE_NAME " ${PIO_BIN} run --target buildfs
2424
2525echo " Done! Binaries in ${BUILD_DIR} "
You can’t perform that action at this time.
0 commit comments