conda-incubator / conda-store

Data science environments, for collaboration. ✨
https://conda.store
BSD 3-Clause "New" or "Revised" License
150 stars 50 forks source link

[MAINT] Make github workflow format openapi.json #879

Closed peytondmurray closed 2 months ago

peytondmurray commented 2 months ago

Fixes #870.

Description

This pull request runs jq to format the generated openapi.json in a more human readable format. This also inserts a newline at the end of the file so that pre-commit.ci stops failing on all PRs.

I've also made jq sort the json by keys, which should make the order nice and stable.

Pull request checklist

netlify[bot] commented 2 months ago

Deploy Preview for conda-store canceled.

Name Link
Latest commit f52f7752cd444b859a2d855a467ea99c07cabba5
Latest deploy log https://app.netlify.com/sites/conda-store/deploys/66e9a6df527b340008bdef82