19 lines
570 B
YAML
19 lines
570 B
YAML
# SPDX-License-Identifier: CC0-1.0
|
|
# SPDX-FileCopyrightText: 2025 Allen Winter
|
|
|
|
# requires the image has pre-commit
|
|
# and the project has a .pre-commit-config.yaml file
|
|
|
|
include:
|
|
- /gitlab-templates/blocks/workflow.yml
|
|
- /gitlab-templates/blocks/ci-linux-base.yml
|
|
|
|
pre-commit:
|
|
extends: .suse_tumbleweed_qt6stable_docker
|
|
stage: validate
|
|
before_script:
|
|
- git clone https://invent.kde.org/sysadmin/ci-utilities.git --depth=1
|
|
script:
|
|
- git config --global --add safe.directory $CI_PROJECT_DIR
|
|
- pre-commit install -f
|
|
- pre-commit run --all-files
|