Coder Social home page Coder Social logo

fabasoad / ghacu Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 2.15 MB

GitHub Actions Check Updates - CLI tool to check whether all your actions are up-to-date or not.

License: MIT License

C# 95.12% PowerShell 1.91% Inno Setup 2.33% Shell 0.63%
github-actions cli version-manager

ghacu's Introduction

⚠️ This project is deprecated and no longer maintained starting from 2022/11/18. Please use dependabot CLI instead, an official tool made by GitHub.

ghacu logo

ghacu

Keep your GitHub Actions up-to-date.




📃 Description

CLI tool that checks versions of GitHub Actions that used in a repository. Please read documentation for more details.

:shipit: Commands

--no-cache     Disable cache.
--no-colors    Disable colors.
--log-level    (Default: Information) Set log level. Possible values: Trace, Debug, Information, Warning, Error, Critical, None.
--output-type  (Default: Console) Information output type. Possible values: Console, Logger, Silent.
--repository   Path to the root of a project.
--token        GitHub token to work with actions repositories.
--upgrade      Upgrade versions to the latest one.
--help         Display this help screen.
--version      Display version information.

All commands are optional and can be run by purpose.

🔑 GitHub Token

There are 2 ways to pass GitHub token to ghacu:

  1. Using --token parameter:
ghacu --token abc123 --repository "C:\Projects\business-card"
  1. Defining GHACU_GITHUB_TOKEN environment variable:
export GHACU_GITHUB_TOKEN=abc123
ghacu --repository "C:\Projects\business-card"

Program argument way takes precedence over the environment variable way. So the program looks at program argument first, if it's not present it looks at GHACU_GITHUB_TOKEN environment variable and if it's not present as well then ghacu will work as unauthenticated user.

🔮 Examples

PS C:\Projects\business-card> ghacu
> CI (.github\workflows\ci.yml)
actions/checkout                 v1  »  v2.1.0
bahmutov/npm-install             v1  »  v1.4.0
crazy-max/ghaction-github-pages  v1  »  v1.3.0

> Milestone Closure (.github\workflows\release-notes.yml)
actions/checkout                          master  »  v2.1.0
decathlon/release-notes-generator-action   2.0.0  »  v2.0.1

Run ghacu --upgrade to upgrade the actions.

🔝

ghacu's People

Contributors

dependabot[bot] avatar fabasoad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nicolas-pathlit

ghacu's Issues

Actions upgraded from v2 to v2.3.1.3.1.3.1.3.1.3.1 instead of v2.3.1

Describe the bug

The generated updated version of an action is repeating itself after the major revision part.

Steps to Reproduce

See my GitHub action which is trying to update all versions from all my workflows at: https://github.com/kdeldycke/awesome-iam/blob/master/.github/workflows/lint.yaml#L11-L38

This produce the following change: https://github.com/kdeldycke/awesome-iam/pull/6/files#diff-c81593a3651bf87f58345cd819edad71

in which:

- uses: actions/checkout@v2

is replaced by:

- uses: actions/[email protected]

Expected behavior

Here I expect actions/checkout@v2 to be replaced by actions/[email protected].

Actual behavior

Instead, what's happening is that actions/checkout@v2 gets replaced by actions/[email protected].
Technical information (please complete the following information):

Add `brew` package support for MacOS

Is your feature request related to a problem? Please describe.
It's hard to install tool manually. Would be good to run it using brew command

Describe the solution you'd like
brew install ghacu

Describe alternatives you've considered
Install it manually following by documentation.

Additional context
N/A

Add support of different .NET Core versions

Is your feature request related to a problem? Please describe.
Investigate how to add a support of different .NET Core versions.

Describe the solution you'd like
Any .NET Core version is fine to build ghacu (in case it fits the current code state).

Describe alternatives you've considered
N/A

Additional context
N/A

Add support of config file

Is your feature request related to a problem? Please describe.
There are too many parameters become available and it's not convenient to keep them all in a command line.

Describe the solution you'd like
Add support of config file, like ghacu.yml or .ghacu.json or .ghacu where we can define all parameters there.

Describe alternatives you've considered
Set parameters in command line.

Additional context
N/A

"API rate limit exceeded for ..." error occurs after running ghacu many times

Describe the bug
There is "API rate limit exceeded for ..." error occurs in case of running ghacu many times.

Steps to Reproduce

  1. Run ghacu multiple times.
  2. See the error after N-run.

Expected behavior
Shouldn't be any error.

Actual behavior
Error occurs.

Screenshots

PS C:\Projects\ghacu> ghacu
API rate limit exceeded for <IP>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
API rate limit exceeded for <IP>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
> CI (latest) (.github\workflows\ci-latest.yml)
actions/checkout  master  »  v2.1.0

Run ghacu -u to upgrade actions.

Technical information (please complete the following information):

  • Windows 10 Enterprise v.1909 (OS Build 18363.720)
  • ghacu version 1.1.3
  • PowerShell 7.1.0-preview.2

Additional context
N/A

Add support of revert updating

Is your feature request related to a problem? Please describe.
When I run ghacu -u by mistake I want to rollback the changes.

Describe the solution you'd like
As a solution, it could be implemented in the same way as maven does it. During upgrading Maven creates temporary file(s) that stores previous versions of tools, and when you run mvn versions:commit it removes temporary files. In ghacu we have LiteDB file where we store some information, so we can use it to store old versions and remove them as soon as we run ghacu --commit or something like that. If I run ghacu --revert, old versions should be back and records should be removed from LiteDB file.

Describe alternatives you've considered
If project under the versions control system, like git, it's possible to revert changes using git.

Additional context
N/A

Create automatic releases

Is your feature request related to a problem? Please describe.
I should manually create build packages and exe files to make a release.

Describe the solution you'd like
CI should be configured in the following way:

  1. Push to branch that starts with feature/ or bugfix/:
    1. Unit tests should run.
    2. Linting should run.
  2. Merge branch into develop branch:
    1. All steps from previous option.
    2. Functional tests should run (using uses: ./).
  3. Merge develop into staging:
    1. All steps from previous option.
    2. Beta release should be created:
      1. Version should be increased + -beta1 suffix.
      2. Create branch with version/ prefix.
      3. Create PR of version branch with the changes.
  4. Merge version/ PR:
    1. Create release in GitHub /releases page.
    2. Functional tests should run using this release.
  5. Create tag with version:
    1. All steps from option 2.
    2. Stable release should be created:
      1. Tag name should be used instead of *-beta1 release.
      2. Create branch with version/ prefix.
      3. Create PR of version branch with the changes.

Describe alternatives you've considered
Just do all the stuff manually.

Additional context
N/A

Implement caching with the monitored latest versions

Is your feature request related to a problem? Please describe.
CI is failed now due to GitHub rate limit restriction.

Describe the solution you'd like
Would be great to have caching mechanism. For example, when ghacu is running it stores all latest versions in a separate file. Then if I run ghacu immediately (like CI does) after that it actually can use caching information and not make GitHub calls again and again. Each cached action can have timestamp to understand when we need to update it.

Describe alternatives you've considered
There are no alternatives for CI for now.

Additional context
N/A

"Unknown publisher" is shown instead of author name in Windows installer window.

Describe the bug
When you run Windows installer at a first time there is a window that asks permissions to run the application. Field "Publisher" shows "Unknown publisher" instead of "Yevhen Fabizhevskyi".

Steps to Reproduce

  1. Run windows installer.
  2. See "Publisher" field.

Expected behavior
Should be "Yevhen Fabizhevskyi".

Actual behavior
"Unknown publisher" is shown there.

Screenshots
photo_2020-07-03 21 36 45

Technical information (please complete the following information):

  • Windows 10
  • ghacu v1.1.3

Additional context
N/A

Remove ghacu.nuspec

Describe the bug
Need to remove ghacu.nuspec and rewrite script in CI to take version from different place.

Steps to Reproduce
N/A

Expected behavior
CI should extract version correctly after removing that file.

Actual behavior
CI uses that file.

Screenshots
N/A

Technical information (please complete the following information):

  • OS: ubuntu-latest (GitHub Actions)
  • ghacu 2.0.0
  • bash

Additional context
Add any other context about the problem here.

It's impossible to uninstall manually old version of ghacu

Describe the bug
It's impossible to uninstall manually old version of ghacu

Steps to Reproduce

  1. Install old version using any msi file.
  2. Install newer version using msi file.
  3. Go to Settings -> Apps and see that both versions are present.
  4. Try to uninstall the oldest one.

Expected behavior
Old versions should be uninstalled automatically during new version installation.

Actual behavior
Old versions are left in the list and are not uninstalled. Also, it's impossible to uninstall them manually.

Screenshots
Annotation 2020-04-22 115242

Technical information (please complete the following information):

  • Windows 10 Enterprise v.1909 (OS Build 18363.720)
  • ghacu 1.1.2
  • PowerShell 7.1.0-preview.1

Additional context
N/A

Add `apt-get` package support for Linux

Is your feature request related to a problem? Please describe.
It's hard to install tool manually. Would be good to run it using apt-get command

Describe the solution you'd like
apt-get install ghacu

Describe alternatives you've considered
Install it manually following by documentation.

Additional context
N/A

Add `apk` package support for Alpine

Is your feature request related to a problem? Please describe.
It's hard to install tool manually. Would be good to run it using apk command

Describe the solution you'd like
apk add ghacu

Describe alternatives you've considered
Install it manually following by documentation.

Additional context
N/A

Add support of different .NET Core versions in CI

Is your feature request related to a problem? Please describe.
Need to be sure that it works on all supported .NET Core versions.

Describe the solution you'd like
There should be one job per one supported .NET Core version.

Describe alternatives you've considered
Check locally.

Additional context
N/A

Add command to update ghacu

Is your feature request related to a problem? Please describe.
Need to update ghacu manually when new version of ghacu was released.

Describe the solution you'd like
On each run check new release of ghacu and if it exists propose to the user to update current ghacu to the latest one by running ghacu --update.

Describe alternatives you've considered
Update manually.

Additional context
N/A

ghacu is not added to PATH env variable by default

Describe the bug
ghacu is not added to PATH env variable by default in case I run .exe file on Windows.

Steps to Reproduce

  1. Download latest ghacu exe file from Releases page.
  2. Run it.
  3. Open console and type ghacu --version.
  4. See the error.

Expected behavior
Command should work correctly right after installation without any additional actions.

Actual behavior
Program is not visible for console. I need manually add path to PATH environment variable to make it works.

Screenshots

ghacu: The term 'ghacu' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Technical information (please complete the following information):

  • Windows 10 Enterprise v.1909 (OS Build 18363.720)
  • ghacu version 1.1.3
  • PowerShell 7.1.0-preview.2

Additional context
N/A

Add support of different colors in console output text

Is your feature request related to a problem? Please describe.
Would be great to have colorized text in console like ncu has:
Annotation 2020-04-29 145158
Annotation 2020-04-29 145721

Describe the solution you'd like
Add support of different colors for minor/major/build versions. Also, for some other things like:
Run <color>ghacu -u<color> to update...

Describe alternatives you've considered
No alternatives.

Additional context
N/A

Increase tests coverage to 20%

Is your feature request related to a problem? Please describe.
Current tests coverage is:

  • OpenCover: 6%
  • Intellij Rider: 15%

Describe the solution you'd like
Cover code by tests at least by 20% for OpenCover.

Describe alternatives you've considered
N/A

Additional context
N/A

ghacu proposes to upgrade action from v1 to v0.1.0

Describe the bug
If new release of action has v* format but not v*.*.* - it proposes to upgrade it to the nearest version that is in v*.*.* format and it can be even less than it was. Example: v1 » v0.1.0

Steps to Reproduce
N/A

Expected behavior
ghacu should not propose to upgrade to the lowest version.

Actual behavior
ghacu proposes to upgrade to the lowest version.

Screenshots
N/A

Technical information (please complete the following information):

  • Windows 10 Enterprise v.1909 (OS Build 18363.720)
  • ghacu v1.1.2
  • PowerShell 7.1.0-preview.1

Additional context
N/A

Add support of "Silent" output type

Is your feature request related to a problem? Please describe.
Need to have possibility to update actions without console output.

Describe the solution you'd like
ghacu --output-type Silent

Describe alternatives you've considered
N/A

Additional context
N/A

Add `choco` package support for Windows

Is your feature request related to a problem? Please describe.
It's hard to install tool manually. Would be good to run it using choco command

Describe the solution you'd like
choco install ghacu

Describe alternatives you've considered
Install it manually following by documentation.

Additional context
N/A

Read version from environment variable

Is your feature request related to a problem? Please describe.
It's complicated process to change ghacu version now.

Describe the solution you'd like
Change one environment variable so project can use it during the build. It would be easier to maintain upgrade process both locally and in CI.

Describe alternatives you've considered
Manually change the version in all places.

Additional context
N/A

v1.1.5 can't find latest versions

Describe the bug
There's a big regression in v1.1.5: it doesn't detect any upgrade while v1.1.4 works well.

Steps to Reproduce
Install both v1.1.4 and v1.1.5 on macOS Catalina:

❯ mkdir ~/ghacu
❯ cd ~/ghacu
❯ wget https://github.com/fabasoad/ghacu/releases/download/v1.1.4/ghacu-1.1.4-osx-x64.tgz
(...)
❯ wget https://github.com/fabasoad/ghacu/releases/download/v1.1.5/ghacu-1.1.5-osx-x64.tgz
(...)
❯ tar xvzf ./ghacu-1.1.4-osx-x64.tgz
(...)
❯ tar xvzf ./ghacu-1.1.5-osx-x64.tgz
(...)

Get a copy of my repository and try out both v1.1.4 and v1.1.5:

❯ cd ~
❯ git clone [email protected]:kdeldycke/awesome-iam.git
(...)
❯ cd awesome-iam
❯ git checkout ce1c996ffb851cc684994ad05468dc8e494fce30

Compare v1.1.4 to v.1.1.5:

❯ ../ghacu/ghacu-1.1.4-osx-x64/ghacu
> Lint (.github/workflows/lint.yaml)
actions/setup-dotnet                  v1.4.0  »  v1.5.0
actions/checkout                          v2  »  v2.3.1
peter-evans/create-pull-request           v2  »  v2.8.1
actions/checkout                          v2  »  v2.3.1
stefanzweifel/git-auto-commit-action      v4  »  v4.4.0
actions/checkout                          v2  »  v2.3.1
avto-dev/markdown-lint                    v1  »  v1.3.0
peter-evans/create-pull-request           v2  »  v2.8.1
avto-dev/markdown-lint                    v1  »  v1.3.0
actions/checkout                          v2  »  v2.3.1
peter-evans/create-pull-request           v2  »  v2.8.1
actions/checkout                          v2  »  v2.3.1

> Sync labels (.github/workflows/labels_sync.yaml)
actions/checkout  v2  »  v2.3.1

Run ghacu -u to upgrade actions.
❯ ../ghacu/ghacu-1.1.5-osx-x64/ghacu
All GitHub Actions match the latest versions.

Expected behavior
I expect v1.1.5 to behave like v1.1.4 and find all version upgrade available.

Actual behavior
v1.1.5 doesn't find any update while plenty are available.

Technical information (please complete the following information):

  • OS: macOS Catalina
  • ghacu version: v1.1.5
  • Command line name and version: Zsh

Windows installer doesn't add folder to PATH

Describe the bug
Customer has to add path to exe-file manually after installation.

Steps to Reproduce

  1. Run installer on Windows.
  2. Wait until it finishes.
  3. Open cmd and type ghacu --version.

Expected behavior
Version should be shown.

Actual behavior
Error message is shown.

Screenshots
N/A

Technical information (please complete the following information):

  • OS: Windows x86 and x64
  • ghacu 2.0.1
  • Command line version - N/A

Additional context
N/A

Increase tests coverage to 15%

Is your feature request related to a problem? Please describe.
Code is not covered by tests. Need to start work on it.

Describe the solution you'd like
Cover code by tests at least by 15% as a 1st step.

Describe alternatives you've considered
N/A

Additional context
N/A

Add pre-commit support

Is your feature request related to a problem? Please describe.
Would be useful to use it as a pre-commit hook.

Describe the solution you'd like
Create a pre-commit-hooks.yml file.

Describe alternatives you've considered
Install locally and use it in pre-commit as a system CLI.

Additional context
N/A

Fix CI failures

Describe the bug
Need to fix failures in CI.

Steps to Reproduce

  1. Go to Actions tab and take a look at CI (master) workflow.

Expected behavior
CI should passes.

Actual behavior
CI failes.

Screenshots
N/A

Technical information (please complete the following information):

  • OS: ubuntu-latest, macos-latest (GitHub Actions)
  • ghacu v2.0.0
  • Command line name and version - pwsh (GitHub Actions)

Additional context
N/A

Exception is thrown if repository folder doesn't exist

Describe the bug
A clear and concise description of what the bug is.

Steps to Reproduce

  1. Run ghacu -r "not-existing-folder"

Expected behavior
Message should be shown, like "not-existing-folder" does not exist.

Actual behavior
Exception is thrown:

C:\Users\vanil>ghacu -r "C:\Users\vanil\Documents\test" -u
Unhandled exception. Ghacu.Workflow.Exceptions.WorkflowValidationException: Directory C:\Users\vanil\Documents\test does not exist.
   at Ghacu.Workflow.WorkflowService.GetWorkflowPath(String repositoryPath) in /Users/10593/Source/personal/ghacu/src/Ghacu.Workflow/WorkflowService.cs:line 42
   at Ghacu.Workflow.WorkflowService.GetWorkflows(String repositoryPath) in /Users/10593/Source/personal/ghacu/src/Ghacu.Workflow/WorkflowService.cs:line 23
   at Ghacu.Runner.Cli.CliService.Run(String repository, Boolean shouldUpgrade) in /Users/10593/Source/personal/ghacu/src/GHACU/Cli/CliService.cs:line 32
   at Ghacu.Runner.Program.<>c.<Main>b__0_0(Options o) in /Users/10593/Source/personal/ghacu/src/GHACU/Program.cs:line 62
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at Ghacu.Runner.Program.Main(String[] args) in /Users/10593/Source/personal/ghacu/src/GHACU/Program.cs:line 63

Screenshots
N/A

Technical information (please complete the following information):

  • OS: Windows 10
  • ghacu version 2.0.0
  • Command line name - cmd

Additional context
N/A

ghacu failed in case action doesn't have any release

Describe the bug
When I run ghacu to check action that doesn't have any release (e.g. burdzwastaken/hadolint-action) it fails.

Steps to Reproduce

  1. Go to folder that have action without any release.
  2. Run ghacu.
  3. See error:
Unhandled exception. Octokit.NotFoundException: Not Found
   at Octokit.Connection.HandleErrors(IResponse response) in /Users/shiftkey/src/octokit.net/Octokit/Http/Connection.cs:line 663        
   at Octokit.Connection.RunRequest(IRequest request, CancellationToken cancellationToken) in /Users/shiftkey/src/octokit.net/Octokit/Http/Connection.cs:line 642
   at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken) in /Users/shiftkey/src/octokit.net/Octokit/Http/Connection.cs:line 626
   at Octokit.ApiConnection.Get[T](Uri uri, IDictionary`2 parameters) in /Users/shiftkey/src/octokit.net/Octokit/Http/ApiConnection.cs:line 72
   at GHACU.GitHub.RepositoryScanner.PullLatestVersion(IRepositoryAware r) in C:\Users\Yevhen\Documents\Sources\personal\ghacu\src\GHACU\GitHub\RepositoryScanner.cs:line 25
   at GHACU.Cache.DBCache.GetFromDb(IRepositoryAware repositoryAware) in C:\Users\Yevhen\Documents\Sources\personal\ghacu\src\GHACU\Cache\DBCache.cs:line 44
   at GHACU.Cache.DBCache.Get(IRepositoryAware repositoryAware) in C:\Users\Yevhen\Documents\Sources\personal\ghacu\src\GHACU\Cache\DBCache.cs:line 27
   at GHACU.Cache.VersionsCache.Get(IRepositoryAware repositoryAware) in C:\Users\Yevhen\Documents\Sources\personal\ghacu\src\GHACU\Cache\VersionsCache.cs:line 15
   at GHACU.GitHub.RepositoryScanner.GetLatestVersion(IRepositoryAware repositoryAware) in C:\Users\Yevhen\Documents\Sources\personal\ghacu\src\GHACU\GitHub\RepositoryScanner.cs:line 20
   at GHACU.Workflow.Analyze.WorkflowAnalyzer.Analyze(IEnumerable`1 items) in C:\Users\Yevhen\Documents\Sources\personal\ghacu\src\GHACU\Workflow\Analyze\WorkflowAnalyzer.cs:line 27
   at GHACU.CLI.OptionsHandler.Handle(Options o) in C:\Users\Yevhen\Documents\Sources\personal\ghacu\src\GHACU\CLI\OptionsHandler.cs:line 34
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at GHACU.Program.Main(String[] args) in C:\Users\Yevhen\Documents\Sources\personal\ghacu\src\GHACU\Program.cs:line 15
{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/releases/#get-the-latest-release"}

Expected behavior
Shouldn't be any error. Also, repository might have tags without release - consider to check latest tag.

Actual behavior
ghacu fails with error.

Screenshots
N/A

Technical information (please complete the following information):

  • Windows 10
  • ghacu version 1.1.1
  • PowerShell 5.1.18362.628

Additional context
N/A

Change gif animation in README to the latest ghacu version

Is your feature request related to a problem? Please describe.
Change gif animation.

Describe the solution you'd like
There is a progress indicator in the latest version that should be shown in gif animation as well.

Describe alternatives you've considered
N/A

Additional context
N/A

Trojan detected

Describe the bug
image

Steps to Reproduce
attempte to download "ghacu-2.0.4-win-x64.exe"

Expected behavior
downloads without error

Actual behavior
trojan detected by windows defender and download blocked.

Screenshots
see above

Technical information (please complete the following information):

  • OS: [e.g. Windows 10 x64 pro : Version 10.0.19043 Build 19043
  • ghacu version : ghacu-2.0.4-win-x64.exe
  • Command line name and version Chrome: Version 96.0.4664.45 (Official Build) (64-bit)

Additional context
Add any other context about the problem here.

Add progress indicator

Is your feature request related to a problem? Please describe.
It's unclear if tool works or hangs in case there are a lot of actions to check.

Describe the solution you'd like
Would be great to have progress indicator, like in ncu tool:

[=================---] 38/42 86%

Describe alternatives you've considered
No alternatives.

Additional context
N/A

Add possibility to skip checking of specific actions/versions

Is your feature request related to a problem? Please describe.
Sometimes I don't want to update main or master to specific version but I don't have a possibility to skip such cases.

Describe the solution you'd like

$ ghacu --skip-version main # doesn't suggest to upgrade actions that have @main as a version
$ ghacu --skip-action fabasoad/setup-mint-action # doesn't suggest to upgrade this specific action even if it's out of date

Describe alternatives you've considered
None.

Additional context
N/A

Change master branch to main branch

Describe the solution you'd like
Need to create a main branch, make it as a main branch and remove master branch.

Describe alternatives you've considered
N/A

Additional context
N/A

Semmle LGTM fails

Describe the bug
Need to configure it to use .NET Core 5.0 version.

Steps to Reproduce

  1. Take a look at the latest Semmle LGTM report.

Expected behavior
Should passes successfully.

Actual behavior
Failed because it uses .NET Core 3.1 by default.

Screenshots
N/A

Technical information (please complete the following information):

  • OS: Any
  • ghacu version: 2.0.2
  • Command line name and version: Any

Additional context
N/A

Increase tests coverage to 50%

Is your feature request related to a problem? Please describe.
Current tests coverage is 23%

Describe the solution you'd like
Cover code by tests at least by 50%.

Describe alternatives you've considered
N/A

Additional context
N/A

Add "winget" package support for Windows

Is your feature request related to a problem? Please describe.
MS released winget package manager. Consider to register ghacu to this package manager.

Describe the solution you'd like
Would be great to have possibility to install ghacu in the following way:

winget install ghacu

Describe alternatives you've considered
Install ghacu manually.

Additional context
https://github.com/microsoft/winget-cli
https://habr.com/ru/news/t/502982/
https://docs.microsoft.com/en-us/windows/package-manager/winget/

Add parallel running support

Is your feature request related to a problem? Please describe.
It takes a while to finish all checks in case project has many actions.

Describe the solution you'd like
Would be great to parallelize checks. It will increase performance. We can run ghacu --parallel to run it in parallel or just implement this behavior by default (need to investigate).

Describe alternatives you've considered
No alternatives.

Additional context
N/A

Increase tests coverage to 70%

Is your feature request related to a problem? Please describe.
Current tests coverage is 60%

Describe the solution you'd like
Cover code by tests at least by 70%.

Describe alternatives you've considered
N/A

Additional context
N/A

Update .NET Core to 5.0.100-preview.7

Is your feature request related to a problem? Please describe.
Need to update to the latest version

Describe the solution you'd like
Support of 5.0.100-preview.7

Describe alternatives you've considered
N/A

Additional context
N/A

Increase tests coverage to 60%

Is your feature request related to a problem? Please describe.
Current tests coverage is 50%

Describe the solution you'd like
Cover code by tests at least by 60%.

Describe alternatives you've considered
N/A

Additional context
N/A

CI (latest) workflow should use installation scripts

Describe the bug
CI (latest) workflow should use installation scripts instead of downloading *.tgz files manually.

Steps to Reproduce
Take a look at the current CI (latest) workflow.

Expected behavior
Should use installation script from scripts folder.

Actual behavior
Downloads *.tgz files manually.

Screenshots
N/A

Technical information (please complete the following information):

  • OS: Any
  • ghacu version: 2.0.2
  • Command line name and version: Any

Additional context
N/A

Temporary file (LiteDB caching file) is created in monitored project folder

Describe the bug
When I run ghacu from the project folder, caching file is created in it instead of ghacu file location.

Steps to Reproduce

  1. Go to any project with github actions.
  2. Run ghacu.
  3. See caching file inside project folder.

Expected behavior
Caching file shouldn't be created in the project folder but in the same folder where ghacu is installed.

Actual behavior
Caching file is created in the project folder instead of the same folder where ghacu is installed.

Screenshots
N/A

Technical information (please complete the following information):

  • OS: Windows 10
  • GHACU v1.0.0
  • PowerShell 5.1.18362.628

Additional context
N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.