File tree 5 files changed +24
-3
lines changed
5 files changed +24
-3
lines changed Original file line number Diff line number Diff line change
1
+
2
+ name : Shellcheck
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - master
7
+ jobs :
8
+ shellcheck :
9
+ name : Shellcheck
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Run ShellCheck
14
+ uses : ludeeus/action-shellcheck@2.0.0
15
+ env :
16
+ SHELLCHECK_OPTS : -x # allow outside sources
Original file line number Diff line number Diff line change
1
+ # we don't want shebangs in env.sh, disable shellcheck warning
2
+ # shellcheck disable=SC2148
1
3
export RUSTFLAGS=" -C link-arg=-Tlink.x"
2
4
export CARGO_TARGET_THUMBV7M_NONE_EABI_RUNNER=" qemu-system-arm -cpu cortex-m3 -machine mps2-an385 -nographic -semihosting-config enable=on,target=native -kernel"
Original file line number Diff line number Diff line change 7
7
8
8
set -e
9
9
REPO_DIR=$( git rev-parse --show-toplevel)
10
- # shellcheck source=./fuzz-util.sh
10
+ # can't find the file because of the ENV var
11
+ # shellcheck source=/dev/null
11
12
source " $REPO_DIR /fuzz/fuzz-util.sh"
12
13
13
14
while :
Original file line number Diff line number Diff line change 3
3
4
4
REPO_DIR=$( git rev-parse --show-toplevel)
5
5
6
- # shellcheck source=./fuzz-util.sh
6
+ # can't find the file because of the ENV var
7
+ # shellcheck source=/dev/null
7
8
source " $REPO_DIR /fuzz/fuzz-util.sh"
8
9
9
10
# Check that input files are correct Windows file names
Original file line number Diff line number Diff line change 4
4
5
5
REPO_DIR=$( git rev-parse --show-toplevel)
6
6
7
- # shellcheck source=./fuzz-util.sh
7
+ # can't find the file because of the ENV var
8
+ # shellcheck source=/dev/null
8
9
source " $REPO_DIR /fuzz/fuzz-util.sh"
9
10
10
11
# 1. Generate fuzz/Cargo.toml
You can’t perform that action at this time.
0 commit comments