File tree Expand file tree Collapse file tree 2 files changed +23
-22
lines changed Expand file tree Collapse file tree 2 files changed +23
-22
lines changed Original file line number Diff line number Diff line change 31
31
uses : ./go/actions/test
32
32
with :
33
33
run-code-checks : true
34
+
35
+ qhelp :
36
+ name : Test qhelp conversion
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - name : Compile qhelp files to markdown
40
+ shell : bash
41
+ run : |
42
+ cd go
43
+ env QHELP_OUT_DIR=qhelp-out make qhelp-to-markdown
44
+ - name : Upload qhelp markdown
45
+ uses : actions/upload-artifact@v3
46
+ with :
47
+ name : qhelp-markdown
48
+ path : go/qhelp-out/**/*.md
Original file line number Diff line number Diff line change 26
26
shell : bash
27
27
run : ' find .github/problem-matchers -name \*.json -exec echo "::add-matcher::{}" \;'
28
28
29
- - name : Build
30
- shell : bash
31
- run : |
32
- bazel run go:create-extractor-pack
33
-
34
- - name : Check that all Go code is autoformatted
35
- if : inputs.run-code-checks == 'true'
36
- shell : bash
37
- run : |
38
- cd go
39
- make check-formatting
40
-
41
29
- name : Check checked-in generated code
42
30
if : inputs.run-code-checks == 'true'
43
31
shell : bash
@@ -49,19 +37,17 @@ runs:
49
37
exit 1
50
38
)
51
39
52
- - name : Compile qhelp files to markdown
53
- if : inputs.run-code-checks == 'true'
40
+ - name : Build
54
41
shell : bash
55
42
run : |
56
- cd go
57
- env QHELP_OUT_DIR=qhelp-out make qhelp-to-markdown
43
+ bazel run go:create-extractor-pack
58
44
59
- - name : Upload qhelp markdown
60
- if : inputs.run-code-checks == 'true'
61
- uses : actions/upload-artifact@v3
62
- with :
63
- name : qhelp-markdown
64
- path : go/qhelp-out/**/*.md
45
+ - name : Check that all Go code is autoformatted
46
+ if : inputs.run-code-checks == 'true' && !cancelled()
47
+ shell : bash
48
+ run : |
49
+ cd go
50
+ make check-formatting
65
51
66
52
- name : Cache compilation cache
67
53
id : query-cache
You can’t perform that action at this time.
0 commit comments