ci: Add basic shellcheck, whitespace & format checks

This commit is contained in:
Timothée Ravier 2025-06-26 13:52:54 +02:00
parent af23daadf1
commit a6eae6f98e
4 changed files with 182 additions and 0 deletions

View file

@ -10,6 +10,17 @@ variables:
image: quay.io/buildah/stable:v1.40.1
needs: []
basic-checks:
stage: build
image: quay.io/fedora/fedora:latest
needs: []
script: |
set -xeuo pipefail
dnf install -y file jq python3-yaml ShellCheck
./ci/find-whitespace
./ci/shellcheck
./ci/validate
build-minimal:
extends: .build-image
script: |