You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spawned from #23 and depends on #25 being completed first.
We would like to use Freshli in continuous integration (CI) builds to calculate the Freshness score of the project for the commit being built. To do this we will need a Freshli-CLI to return a Freshness score for the current commit which the Freshli-CLI does not support.
The score command will analysis dependencies in the current directly, or in the directory argument, and return a Freshness score. The Freshness score will be a single number that represents the Freshness for the entire directory. For example if the directory has NuGet and NPM packages it will return the score both files combined.
If the Freshness score is greater then then threshold argument the command will fail. For example, if the a project always wants a Freshness score of 10 or less then they would run a command like:
freshli-cli score 10
In a GitHub Action I see using it as:
# Assume .NET 5.0 is installed.
- name: Run Freshlirun: | dotnet tools install freshli-cli freshli-cli score 10
If you want the Freshness value to use in a different GitHub action:
I don't think Freshli-Lib currently supports computing just the Freshness score for the currently checked out commit. If not we will have to add the API methods.
The text was updated successfully, but these errors were encountered:
Spawned from #23 and depends on #25 being completed first.
We would like to use Freshli in continuous integration (CI) builds to calculate the Freshness score of the project for the commit being built. To do this we will need a Freshli-CLI to return a Freshness score for the current commit which the Freshli-CLI does not support.
The command should look something like:
The score command will analysis dependencies in the current directly, or in the directory argument, and return a Freshness score. The Freshness score will be a single number that represents the Freshness for the entire directory. For example if the directory has NuGet and NPM packages it will return the score both files combined.
If the Freshness score is greater then then threshold argument the command will fail. For example, if the a project always wants a Freshness score of 10 or less then they would run a command like:
In a GitHub Action I see using it as:
If you want the Freshness value to use in a different GitHub action:
I don't think Freshli-Lib currently supports computing just the Freshness score for the currently checked out commit. If not we will have to add the API methods.
The text was updated successfully, but these errors were encountered: