Files
runner/.gitea/workflows/pr.yml
T
Renovate Bot 293f7f9d8f
Lint Docker files and shell scripts / Lint Dockerfile with hadolint (pull_request) Failing after 1s
Lint Docker files and shell scripts / Lint shell scripts with shellcheck (pull_request) Successful in 7s
chore(deps): update https://git.keligrubb.com/actions/checkout action to v7
2026-08-14 00:02:22 +00:00

35 lines
843 B
YAML

name: Lint Docker files and shell scripts
on:
pull_request:
paths:
- '.gitea/workflows/**'
- 'Dockerfile'
- 'scripts/**'
- 'build.sh'
jobs:
lint-dockerfile:
name: Lint Dockerfile with hadolint
runs-on: ubuntu-latest
steps:
- uses: https://git.keligrubb.com/actions/checkout@v7
- name: Run hadolint
uses: hadolint/hadolint-action@v3
with:
dockerfile: Dockerfile
lint-shell-scripts:
name: Lint shell scripts with shellcheck
runs-on: ubuntu-latest
steps:
- uses: https://git.keligrubb.com/actions/checkout@v7
- name: Install shellcheck
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
- name: Run shellcheck
run: |
find . -name '*.sh' -print0 | xargs -0 -n1 shellcheck