thrasher-corp / gocryptotrader

A cryptocurrency trading bot and framework supporting multiple exchanges written in Golang.
MIT License
2.95k stars 793 forks source link

qa: Enforce JSON linter for GCT configs #1526

Closed thrasher- closed 2 months ago

thrasher- commented 2 months ago

PR Description

Adds a new GHA and Makefile utility command to enforce JSON format standards for our configs using jq. Also sorts the exchanges by name for now rather than the whole file for starters.

Type of change

How has this been tested

Checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 36.03%. Comparing base (44d50a3) to head (cfecfd7). Report is 1 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/thrasher-corp/gocryptotrader/pull/1526/graphs/tree.svg?width=650&height=150&src=pr&token=41784B23TS&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thrasher-corp)](https://app.codecov.io/gh/thrasher-corp/gocryptotrader/pull/1526?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thrasher-corp) ```diff @@ Coverage Diff @@ ## master #1526 +/- ## ========================================== + Coverage 36.02% 36.03% +0.01% ========================================== Files 411 411 Lines 176891 176914 +23 ========================================== + Hits 63726 63757 +31 + Misses 105384 105369 -15 - Partials 7781 7788 +7 ``` [see 25 files with indirect coverage changes](https://app.codecov.io/gh/thrasher-corp/gocryptotrader/pull/1526/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thrasher-corp)