ci(github): fix clang-format check (#1822)

This commit is contained in:
Oleg Shparber
2026-04-12 12:10:51 +03:00
committed by GitHub
parent c1832ca935
commit c6609e8d49
3 changed files with 12 additions and 4 deletions
+7 -2
View File
@@ -19,7 +19,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6
@@ -33,10 +32,16 @@ jobs:
version: '22'
style: file
tidy-checks: '-*'
format-review: true
file-annotations: true
files-changed-only: false
ignore-format: 'src/contrib'
- name: Fail on format issues
if: steps.linter.outputs.checks-failed > 0
run: |
echo "::error::${{ steps.linter.outputs.checks-failed }} formatting issue(s) found"
exit 1
reuse:
name: REUSE Compliance
runs-on: ubuntu-latest
+1 -1
View File
@@ -5,9 +5,9 @@
#ifndef ZEAL_REGISTRY_SEARCHRESULT_H
#define ZEAL_REGISTRY_SEARCHRESULT_H
#include <QList>
#include <QString>
#include <QUrl>
#include <QList>
namespace Zeal::Registry {
@@ -196,7 +196,10 @@ bool QxtGlobalShortcutPrivate::unregisterShortcut(quint32 nativeKey, quint32 nat
QList<xcb_void_cookie_t> xcbCookies;
for (quint32 maskMods : maskModifiers) {
xcbCookies << xcb_ungrab_key_checked(xcbConnection, nativeKey, QX11Info::appRootWindow(), nativeMods | maskMods);
xcbCookies << xcb_ungrab_key_checked(xcbConnection,
nativeKey,
QX11Info::appRootWindow(),
nativeMods | maskMods);
}
bool failed = false;