Skip to content

Commit

Permalink
Assert that binny compiles on windows
Browse files Browse the repository at this point in the history
This way, even if it takes a while for us to start publishing windows
release artifacts, PRs that prevent the tool from compiling at all on
windows will be blocked.

Signed-off-by: Will Murphy <will.murphy@anchore.com>
  • Loading branch information
willmurphyscode committed Mar 12, 2024
1 parent 1603386 commit 77c3449
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tasks:
cmds:
- task: static-analysis
- task: test
- task: assert-windows-build
- task: build

static-analysis:
Expand Down Expand Up @@ -157,6 +158,10 @@ tasks:
- "{{ .TOOL_DIR }}/goreleaser release --clean --skip=publish --skip=sign --snapshot --config {{ .TMP_DIR }}/goreleaser.yaml"

assert-windows-build:
desc: Assert that binny compiles on Windows
cmds:
- "GOOS=windows go build ./cmd/binny"

## Release targets #################################

Expand Down

0 comments on commit 77c3449

Please sign in to comment.