nitrictech / cli

Nitric CLI. Manage and run Nitric apps locally and deploy to any cloud.
https://nitric.io
Apache License 2.0
26 stars 10 forks source link

feat: ability to lint and validate the nitric.yaml from json schema #735

Open davemooreuws opened 5 months ago

davemooreuws commented 5 months ago

Note: Used a simple lock file for version check instead of parsing the JSON each time.

Should test against a published version of vscode ext before merging.

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 0% with 46 lines in your changes missing coverage. Please review.

Project coverage is 1.29%. Comparing base (6e0a93d) to head (25546f4). Report is 1 commits behind head on main.

Files Patch % Lines
pkg/schemas/schemas.go 0.00% 44 Missing :warning:
pkg/paths/paths.go 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #735 +/- ## ======================================== - Coverage 1.30% 1.29% -0.01% ======================================== Files 78 79 +1 Lines 8224 8270 +46 ======================================== Hits 107 107 - Misses 8109 8155 +46 Partials 8 8 ``` | [Flag](https://app.codecov.io/gh/nitrictech/cli/pull/735/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nitrictech) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/nitrictech/cli/pull/735/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nitrictech) | `1.29% <0.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nitrictech#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.