Michael Grote
78b7ccc0eb
chore(deps): update dependency alpine_3_20/curl to v8.9.1-r0 switch hadolint to gitea-actions fix? test hadolint remove test move shellcheck dd cc dd dd ff ss dd ss dd ww dddd dd dd ff dd dd dd
33 lines
809 B
YAML
33 lines
809 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: sudo-bot/action-shellcheck@latest
|
|
with:
|
|
cli-args: "shell.sh"
|