httpd/.gitea/workflows/lint.yaml
Michael Grote 2b4330f987
Some checks failed
linter / gitleaks (push) Successful in 3s
linter / hadolint (push) Successful in 2s
linter / shellcheck (push) Failing after 0s
ff
2024-08-27 21:36:02 +02:00

34 lines
787 B
YAML

name: linter
on:
push:
branches: [ master ]
pull_request:
jobs:
gitleaks:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Gitleaks
uses: docker://zricethezav/gitleaks:v8.18.4
with:
args: detect --no-git --verbose --source ${{ github.workspace }}
hadolint:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run hadolint
uses: docker://pipelinecomponents/hadolint:0.26.4
with:
args: hadolint Dockerfile
shellcheck:
steps:
- name: Run shellcheck # https://gitea.com/gitea/act_runner/issues/189
- name: Run hadolint
uses: docker://pipelinecomponents/hadolint:0.26.4
with:
args: shellcheck shell.sh