diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0490935e9..1c8851c08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,10 @@ # SPDX-FileCopyrightText: 2020-2021 Laurent Montel # SPDX-License-Identifier: CC0-1.0 include: - project: sysadmin/ci-utilities file: + - /gitlab-templates/yaml-lint.yml - /gitlab-templates/linux-qt6.yml - /gitlab-templates/freebsd-qt6.yml - /gitlab-templates/flatpak.yml diff --git a/.kde-ci.yml b/.kde-ci.yml index 26f3f82f6..3e9a79e06 100644 --- a/.kde-ci.yml +++ b/.kde-ci.yml @@ -1,29 +1,29 @@ # SPDX-FileCopyrightText: None # SPDX-License-Identifier: CC0-1.0 Dependencies: - 'on': ['Linux', 'FreeBSD', 'Windows'] 'require': 'frameworks/extra-cmake-modules': '@latest-kf6' - 'pim/kmime' : '@same' - 'pim/libkleo' : '@same' - 'pim/kidentitymanagement' : '@same' - 'pim/kmailtransport' : '@same' + 'pim/kmime': '@same' + 'pim/libkleo': '@same' + 'pim/kidentitymanagement': '@same' + 'pim/kmailtransport': '@same' 'frameworks/kcmutils': '@latest-kf6' 'frameworks/kcodecs': '@latest-kf6' 'frameworks/kconfig': '@latest-kf6' 'frameworks/kconfigwidgets': '@latest-kf6' 'frameworks/kcoreaddons': '@latest-kf6' 'frameworks/kcrash': '@latest-kf6' 'frameworks/ki18n': '@latest-kf6' 'frameworks/kiconthemes': '@latest-kf6' 'frameworks/kitemmodels': '@latest-kf6' 'frameworks/kio': '@latest-kf6' 'frameworks/kwidgetsaddons': '@latest-kf6' 'frameworks/kwindowsystem': '@latest-kf6' 'frameworks/kxmlgui': '@latest-kf6' 'frameworks/kstatusnotifieritem': '@latest-kf6' - 'pim/mimetreeparser' : '@same' + 'pim/mimetreeparser': '@same' Options: - require-passing-tests-on: [ 'Linux', 'FreeBSD' ] + require-passing-tests-on: ['Linux', 'FreeBSD'] diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 000000000..e7fc6a6df --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: 2024 KDE e.V. + +extends: default + +ignore-from-file: + - .gitignore + - .yamlignore + +rules: + # don't require a document start marker + document-start: disable + indentation: + # allow less strict, but still consistent indentation of lists + indent-sequences: consistent + # allow longer lines; warn about even longer ones + line-length: + max: 120 + level: warning