onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 66 forks source link

Add check for latest Cadence 1.0 release #1496

Closed jribbink closed 6 months ago

jribbink commented 6 months ago

Closes #1411

Description

Adds a check for latest cadence 1.0 release. We should remove this when feature/stable-cadence is merged into master, but if this is forgotten about, it shouldn't cause any issues either.

It's probably a good idea to have this so developers don't run into resolved issues since it's hard to track latest CLI versions/if you're using outdated CLI.


For contributor use:

codecov-commenter commented 6 months ago

Codecov Report

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

Project coverage is 41.62%. Comparing base (5c0fa11) to head (f59ae21).

:exclamation: Current head f59ae21 differs from pull request most recent head c83c5bf. Consider uploading reports for the commit c83c5bf to get more accurate results

Files Patch % Lines
internal/command/command.go 0.00% 34 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/stable-cadence #1496 +/- ## ========================================================== - Coverage 41.99% 41.62% -0.38% ========================================================== Files 59 59 Lines 3360 3390 +30 ========================================================== Hits 1411 1411 - Misses 1745 1775 +30 Partials 204 204 ``` | [Flag](https://app.codecov.io/gh/onflow/flow-cli/pull/1496/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/onflow/flow-cli/pull/1496/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | `41.62% <0.00%> (-0.38%)` | :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=onflow#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.