Skip to content

Commit c69e6a2

Browse files
committed
Add -x and enable SC1090
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
1 parent 2bb6323 commit c69e6a2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/centos-fmt-clippy-on-all.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ jobs:
8282
sh ./ci/raw_init.sh
8383
- name: Run shell checks
8484
run: |
85-
shellcheck -s dash -- rustup-init.sh
86-
git ls-files -- '*.sh' | xargs shellcheck -s dash -e SC1090
87-
git ls-files -- '*.bash' | xargs shellcheck -s bash -e SC1090
85+
shellcheck -x -s dash -- rustup-init.sh
86+
git ls-files -- '*.sh' | xargs shellcheck -x -s dash
87+
git ls-files -- '*.bash' | xargs shellcheck -x -s bash
8888
- name: Run formatting checks
8989
run: |
9090
cargo fmt --all --check

ci/actions-templates/centos-fmt-clippy-template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ jobs:
8282
sh ./ci/raw_init.sh
8383
- name: Run shell checks
8484
run: |
85-
shellcheck -s dash -- rustup-init.sh
86-
git ls-files -- '*.sh' | xargs shellcheck -s dash -e SC1090
87-
git ls-files -- '*.bash' | xargs shellcheck -s bash -e SC1090
85+
shellcheck -x -s dash -- rustup-init.sh
86+
git ls-files -- '*.sh' | xargs shellcheck -x -s dash
87+
git ls-files -- '*.bash' | xargs shellcheck -x -s bash
8888
- name: Run formatting checks
8989
run: |
9090
cargo fmt --all --check

ci/raw_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
set -ex
44

55
sh ./rustup-init.sh --default-toolchain none -y
6-
# shellcheck source=/dev/null
6+
# shellcheck source=src/cli/self_update/env.sh
77
. "$HOME"/.cargo/env
88
rustup -Vv

0 commit comments

Comments
 (0)