We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666dba1 commit 90ae51dCopy full SHA for 90ae51d
.github/workflows/formatting.yml
@@ -0,0 +1,20 @@
1
+# Copyright 2024 The Khronos Group Inc.
2
+# Copyright 2024 RasterGrid Kft.
3
+# SPDX-License-Identifier: Apache-2.0
4
+name: Formatting
5
+
6
+on:
7
+ workflow_call:
8
9
+permissions:
10
+ contents: read
11
12
+jobs:
13
+ clang-format:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Run clang-format
18
+ uses: jidicula/[email protected]
19
+ with:
20
+ clang-format-version: '17'
.github/workflows/windows.yml
@@ -25,7 +25,11 @@ on:
25
workflow_dispatch:
26
27
jobs:
28
+ formatting:
29
+ uses: ./.github/workflows/formatting.yml
30
windows:
31
+ # Shortcircuit and don't burn CI time when formatting will reject
32
+ needs: formatting
33
strategy:
34
matrix:
35
os: [ windows-latest ]
0 commit comments