4e30cf81ef
* Initial * Fixes * Ignore hadolint DL3023 rule * Ignore DL3022 rule * Bump wireguard-tools * Fix port value
44 lines
894 B
YAML
44 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
|