-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ae0a304 ci: add shellcheck job (Jose Storopoli) 9f9bd34 shellcheck: fix warnings (Jose Storopoli) Pull request description: Following rust-bitcoin/rust-bitcoin#2762, adding CI shellcheck cheks here as well. I also did all fixes that I could find with ```bash shellcheck **/*.sh ``` If I've missed any please let me know. ACKs for top commit: Kixunil: ACK ae0a304 tcharding: ACK ae0a304 apoelstra: ACK ae0a304 successfully ran local tests Tree-SHA512: 0293027439cc922ad9b1ccd5184b481d33fe80b4cd270f425805e7c31108b0bfd7ebe8a76b6aca55300584846f4ca9fbd810faa9ab1d5402e5f1be2bf12fed1a
- Loading branch information
Showing
4 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Shellcheck | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
shellcheck: | ||
name: Shellcheck | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run ShellCheck | ||
uses: ludeeus/[email protected] | ||
env: | ||
SHELLCHECK_OPTS: -x # allow outside sources | ||
with: | ||
# This code comes directly from upstream libsecp256k1 | ||
# and should not be linted here. | ||
ignore_paths: ./secp256k1-sys/depend/**/*.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters