27 lines
690 B
YAML
27 lines
690 B
YAML
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
name: 'Lint and Test'
|
|
|
|
jobs:
|
|
shellcheck:
|
|
name: Shellcheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
|
|
- 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@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
|
|
- uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5 # tag=v4
|
|
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # tag=v3.0.0
|