Skip to content

Check and Lint Repo

Check and Lint Repo #2

Workflow file for this run

---
name: "Check and Lint Repo"
on:
workflow_dispatch:
pull_request:
paths:
- "**/*.sh"
- ".github/workflows/*.yml"
- "Dockerfile"
jobs:
check:
name: Check and Lint Repo
runs-on: ubuntu-latest
steps:
- name: Checkout project ⬇️
uses: actions/checkout@v4
- name: Run ShellCheck 🐚
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -x --source-path=scripts -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
- name: Lint Dockerfile 🐋
uses: hadolint/[email protected]
with:
dockerfile: Dockerfile
ignore: DL3008
failure-threshold: warning