scale-catalog/.github/workflows/shellcheck.yml

27 lines
678 B
YAML
Raw Normal View History

2022-06-14 08:36:45 +00:00
on:
push:
pull_request:
workflow_dispatch:
name: 'Lint and Test'
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
2022-06-14 08:36:45 +00:00
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
check_together: 'yes'
env:
SHELLCHECK_OPTS: -e SC2154
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4
2022-06-16 10:40:50 +00:00
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # tag=v3.0.0