anchore / binny

Manage a directory of binaries without a package manager
Apache License 2.0
21 stars 1 forks source link

feat: release on windows #22

Open willmurphyscode opened 5 months ago

willmurphyscode commented 5 months ago

Support windows by:

  1. Changing goreleaser config to make windows release artifacts
  2. Changing PR and pre-release validations to run new CLI tests on windows runner

Closes #17

willmurphyscode commented 5 months ago

Something isn't working with the Windows validations:

  make test
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    FORCE_COLOR: true
bash: line 1: .tool/task: No such file or directory
bash: line 1: .tool/task: No such file or directory
make: 'test' is up to date.

It looks like the windows validations just didn't do anything, but still turned green (https://github.com/anchore/binny/actions/runs/9022127458/job/24790946459?pr=22#step:4:9).

Maybe making the test target depend on the tools target is enough?