We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45f3cda commit 97e8e04Copy full SHA for 97e8e04
.github/workflows/main.yml
@@ -106,6 +106,17 @@ jobs:
106
run: |
107
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --install-deps owncloud/owncloud-client
108
109
+ - name: QML format lint
110
+ if: matrix.name == 'linux-gcc-x86_64'
111
+ run: |
112
+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c libs/qt6/qttools
113
+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run pwsh -c "git ls-files *.qml | %{ qmlformat -i `$_}"
114
+ $diff = git diff
115
+ if ($diff) {
116
+ $diff
117
+ exit 1
118
+ }
119
+
120
- name: Build
121
if: ${{ !matrix.useSonarCloud }}
122
0 commit comments