Skip to content

[gz] new target

[gz] new target #1604

Workflow file for this run

name: Linting
on: [push, pull_request]
jobs:
yamllint:
name: YamlLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
ssh-key: ${{ secrets.SSH_DEPLOY_KEY }}
- name: Setup Python 3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install YamlLint
run: pip install --upgrade yamllint
- name: YamlLint
run: |
find . -type f \( -iname "*.yaml" -o -iname "*.yml" \) -print0 | xargs -0 -r yamllint
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
ssh-key: ${{ secrets.SSH_DEPLOY_KEY }}
- name: ShellCheck
run: |
find . -type f \( -iname "setup" -o -iname "*.bash" -o -iname "*.sh" \) -print0 | xargs -0 -r shellcheck
bash_set_error:
name: Set -e/+e Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
ssh-key: ${{ secrets.SSH_DEPLOY_KEY }}
- name: Check set -e/+e
run: ./.check_set-e.bash