wg-easy-extended/.github/workflows/lint.yml
Pavel Popov 4e30cf81ef
Initial (#1)
* Initial

* Fixes

* Ignore hadolint DL3023 rule

* Ignore DL3022 rule

* Bump wireguard-tools

* Fix port value
2022-05-05 01:13:32 +03:00

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