From ae0a304c2d68efce13c2641d5a3b987bed91d506 Mon Sep 17 00:00:00 2001 From: Jose Storopoli Date: Mon, 2 Sep 2024 12:31:32 -0300 Subject: [PATCH] ci: add shellcheck job --- .github/workflows/shellcheck.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/shellcheck.yml diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 0000000..2a40701 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -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/action-shellcheck@2.0.0 + 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