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

27 lines
678 B
YAML
Raw Normal View History

2022-12-20 14:08:42 +00:00
on:
push:
pull_request:
workflow_dispatch:
2022-12-27 10:55:52 +00:00
name: 'Lint and Test'
2022-12-20 14:08:42 +00:00
jobs:
2022-12-27 10:55:52 +00:00
shellcheck:
name: Shellcheck
2022-12-20 14:08:42 +00:00
runs-on: ubuntu-latest
steps:
2022-12-27 10:55:52 +00:00
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
check_together: 'yes'
env:
SHELLCHECK_OPTS: -e SC2154
2022-12-20 14:08:42 +00:00
2022-12-27 10:55:52 +00:00
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
- uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912 # v4
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # tag=v3.0.0