You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
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.
This commit is contained in:
23
.github/workflows/linting.yml
vendored
23
.github/workflows/linting.yml
vendored
@ -1,11 +1,9 @@
|
||||
name: "Lint"
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ "*" ]
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
branches: [ master ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -16,23 +14,12 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Hadolint
|
||||
run: |
|
||||
make hadolint
|
||||
env:
|
||||
HADOLINT_VERSION: 2.4.1
|
||||
run: make hadolint
|
||||
|
||||
- name: ShellCheck
|
||||
run: |
|
||||
make shellcheck
|
||||
env:
|
||||
SHELLCHECK_VERSION: 0.8.0
|
||||
run: make shellcheck
|
||||
|
||||
- name: ECLint
|
||||
run: |
|
||||
make eclint
|
||||
env:
|
||||
ECLINT_VERSION: 2.3.5
|
||||
run: make eclint
|
||||
|
Reference in New Issue
Block a user