45 lines
894 B
YAML
45 lines
894 B
YAML
|
name: Lint
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
yamllint:
|
||
|
name: yamllint
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: ⤵️ Check out code
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- 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@v3
|
||
|
|
||
|
- 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@v3
|
||
|
|
||
|
- name: 🚀 Run shellcheck
|
||
|
uses: reviewdog/action-shellcheck@v1
|
||
|
with:
|
||
|
filter_mode: added
|