httpd/.gitea/workflows/lint.yaml
Michael Grote 68748e270f
All checks were successful
linter / gitleaks (push) Successful in 2s
linter / hadolint (push) Successful in 2s
linter / shellcheck (push) Successful in 4s
dd
2024-08-27 21:46:08 +02:00

34 lines
831 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: # https://github.com/marketplace/actions/shellcheck
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
format: tty
check_together: 'yes'