ci: add shellcheck job
This commit is contained in:
parent
9f9bd34365
commit
ae0a304c2d
|
@ -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
|
Loading…
Reference in New Issue