File tree Expand file tree Collapse file tree 2 files changed +17
-32
lines changed Expand file tree Collapse file tree 2 files changed +17
-32
lines changed Original file line number Diff line number Diff line change 80
80
with :
81
81
tag : ${{ github.ref_name }}
82
82
83
- # #####################################################################################
84
- # # Generate and upload openapi html artifact
85
- # #
86
- # # Runs when:
87
- # # - it is a node or signer-only release run
88
- # # or any of:
89
- # # - this workflow is called manually
90
- # # - PR is opened
91
- # # - PR added to merge queue
92
- open-api-validation :
93
- if : |
94
- needs.check-release.outputs.is_node_release == 'true' ||
95
- needs.check-release.outputs.is_signer_release == 'true' ||
96
- github.event_name == 'workflow_dispatch' ||
97
- github.event_name == 'pull_request' ||
98
- github.event_name == 'merge_group'
99
- name : OpenAPI Validation
100
- needs :
101
- - rustfmt
102
- - check-release
103
- runs-on : ubuntu-latest
104
- steps :
105
- - name : Generate OpenAPI documentation
106
- uses : stacks-network/actions/openapi@main
107
- with :
108
- input : " ./docs/rpc/openapi.yaml"
109
- output : " ./openapi-docs.html"
110
- config : " ./docs/rpc/redocly.yaml"
111
- validate : " true"
112
- redocly-version : " 1.34"
113
-
114
83
# #####################################################################################
115
84
# # Create a tagged github release
116
85
# #
124
93
needs :
125
94
- rustfmt
126
95
- check-release
127
- secrets : inherit
96
+ secrets : inherit
128
97
uses : ./.github/workflows/github-release.yml
129
98
with :
130
99
node_tag : ${{ needs.check-release.outputs.node_tag }}
Original file line number Diff line number Diff line change 56
56
with :
57
57
test-name : ${{ matrix.test-name }}
58
58
59
+ # # Generate and upload openapi html artifact
60
+ open-api-validation :
61
+ name : OpenAPI Validation
62
+ runs-on : ubuntu-latest
63
+ steps :
64
+ - name : Generate OpenAPI documentation
65
+ id : openapi
66
+ uses : stacks-network/actions/openapi@main
67
+ with :
68
+ input : " ./docs/rpc/openapi.yaml"
69
+ output : " ./openapi-docs.html"
70
+ config : " ./docs/rpc/redocly.yaml"
71
+ validate : " true"
72
+ redocly-version : " 1.34"
73
+
59
74
# # Disabled
60
75
# # - this test can take several hours to run
61
76
nettest :
@@ -125,6 +140,7 @@ jobs:
125
140
runs-on : ubuntu-latest
126
141
if : always()
127
142
needs :
143
+ - open-api-validation
128
144
- core-contracts-clarinet-test
129
145
steps :
130
146
- name : Check Tests Status
You can’t perform that action at this time.
0 commit comments