mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Have shellcheck
check all scripts in contrib
This commit is contained in:
parent
e99ff4520e
commit
a5aef14391
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -32,11 +32,12 @@ jobs:
|
|||
run: |
|
||||
rustup target add thumbv7m-none-eabi
|
||||
sudo apt-get -y install gcc-arm-none-eabi
|
||||
- name: shellcheck the CI script
|
||||
- name: shellcheck the CI and `contrib` scripts
|
||||
if: "matrix.platform == 'ubuntu-latest'"
|
||||
run: |
|
||||
sudo apt-get -y install shellcheck
|
||||
shellcheck ci/*.sh -aP ci
|
||||
shellcheck contrib/*.sh -aP contrib
|
||||
- name: Set RUSTFLAGS to deny warnings
|
||||
if: "matrix.toolchain == '1.63.0'"
|
||||
run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
|
||||
|
|
Loading…
Add table
Reference in a new issue