mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
f2c4712c4f
* streamline workflow step separation * doh! Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
41 lines
728 B
YAML
41 lines
728 B
YAML
name: "Lint"
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ "*" ]
|
|
push:
|
|
branches:
|
|
- master
|
|
# These workflows when done will trigger this workflow too:
|
|
workflow_run:
|
|
workflows: ['Update contributors']
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Hadolint
|
|
run: |
|
|
make hadolint
|
|
env:
|
|
HADOLINT_VERSION: 2.4.1
|
|
|
|
- name: ShellCheck
|
|
run: |
|
|
make shellcheck
|
|
env:
|
|
SHELLCHECK_VERSION: 0.7.2
|
|
|
|
- name: ECLint
|
|
run: |
|
|
make eclint
|
|
env:
|
|
ECLINT_VERSION: 2.3.5
|