docker-mailserver/.github/workflows/linting.yml
Georg Lauterbach 8a4329ae9f
scripts: revised linting script (#2737)
The new version uses our `log.sh` helper to simplify logging
significantly. Moreover, the script was adjusted to the current style
and the GitHub workflow was streamlined. The workflow is ot providing
the version anymore (which was useless anyway), and has been compacted.
2022-08-22 16:22:46 +02:00

26 lines
358 B
YAML

name: Lint
on:
pull_request:
push:
branches: [ master ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Hadolint
run: make hadolint
- name: ShellCheck
run: make shellcheck
- name: ECLint
run: make eclint