1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-30 21:21:31 +02:00
docker-mailserver/.github/workflows/linting.yml
Georg Lauterbach 99cc9fec2a
Updated ShellCheck to 0.8.0 and Hadolint to 2.8.0 (#2329)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2021-12-19 11:56:22 +01:00

36 lines
582 B
YAML

name: "Lint"
on:
pull_request:
branches: [ "*" ]
push:
branches:
- master
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.8.0
- name: ECLint
run: |
make eclint
env:
ECLINT_VERSION: 2.3.5