File tree Expand file tree Collapse file tree 2 files changed +32
-17
lines changed Expand file tree Collapse file tree 2 files changed +32
-17
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
+
83
114
# #####################################################################################
84
115
# # Create a tagged github release
85
116
# #
93
124
needs :
94
125
- rustfmt
95
126
- check-release
96
- secrets : inherit
127
+ secrets : inherit
97
128
uses : ./.github/workflows/github-release.yml
98
129
with :
99
130
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
-
74
59
# # Disabled
75
60
# # - this test can take several hours to run
76
61
nettest :
@@ -140,7 +125,6 @@ jobs:
140
125
runs-on : ubuntu-latest
141
126
if : always()
142
127
needs :
143
- - open-api-validation
144
128
- core-contracts-clarinet-test
145
129
steps :
146
130
- name : Check Tests Status
You can’t perform that action at this time.
0 commit comments