wg-easy-extended/.github/workflows/lint.yml

45 lines
894 B
YAML
Raw Permalink Normal View History

name: Lint
on:
pull_request:
branches:
- main
jobs:
yamllint:
name: yamllint
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code
uses: actions/checkout@v4
- name: 🚀 Run yamllint
uses: reviewdog/action-yamllint@v1
with:
filter_mode: added
yamllint_flags: ". --no-warnings"
hadolint:
name: hadolint
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code
uses: actions/checkout@v4
- name: 🚀 Run hadolint
uses: reviewdog/action-hadolint@v1
with:
filter_mode: added
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code
uses: actions/checkout@v4
- name: 🚀 Run shellcheck
uses: reviewdog/action-shellcheck@v1
with:
filter_mode: added