mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 16:31:16 +00:00
And clean up some of the whitespace formatting so that the "name" and "on" are grouped away from the "jobs". Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
21 lines
423 B
YAML
21 lines
423 B
YAML
name: Shell scripts check
|
|
on:
|
|
pull_request:
|
|
merge_group:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
sh-checker:
|
|
name: Check shell scripts
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Run the shell script checkers
|
|
uses: luizm/action-sh-checker@master
|
|
env:
|
|
SHFMT_OPTS: -i 4 -d
|
|
SHELLCHECK_OPTS: -x --source-path scripts
|