File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ⚙️ Validate Workflow Files
2
+
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - ' **'
8
+ pull_request :
9
+ branches :
10
+ - ' **'
11
+ workflow_dispatch :
12
+
13
+ jobs :
14
+ validate-workflow-files :
15
+ name : Create CodeQL Unit Test Matrix
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout repository
19
+ uses : actions/checkout@v3
20
+
21
+ - name : Install QLT
22
+ id : install-qlt
23
+ uses : ./.github/actions/install-qlt-local
24
+ with :
25
+ qlt-version : ' latest'
26
+ add-to-path : true
27
+
28
+ - name : Validate QLT Installation
29
+ shell : bash
30
+ run : |
31
+ echo -e "Checking QLT Version:"
32
+ echo "QLT Home: ${{ steps.install-qlt.outputs.qlt-home }}"
33
+ qlt version
34
+
35
+ - name : Generate Workflow Files (Test Feature)
36
+ shell : bash
37
+ run : |
38
+ qlt test init --use-runner ubuntu-latest --num-threads 4 --language cpp --automation-type actions --development
39
+
40
+
41
+ - name : Check Git Clean Status
42
+ shell : bash
43
+ run : |
44
+ if git diff-index --quiet HEAD .github ; then
45
+ echo "Git is clean - generation is as expected."
46
+ else
47
+ echo "Some files have changed - please check for regressions."
48
+ git status
49
+ git diff-index HEAD .github
50
+ exit 1
51
+ fi
52
+
53
+
You can’t perform that action at this time.
0 commit comments