ci: add shellcheck job

This commit is contained in:
Jose Storopoli 2024-09-02 12:31:32 -03:00
parent 9f9bd34365
commit ae0a304c2d
No known key found for this signature in database
GPG Key ID: 29E00111DE172C28
1 changed files with 19 additions and 0 deletions

19
.github/workflows/shellcheck.yml vendored Normal file
View File

@ -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