Skip to content

Commit

Permalink
minify binary
Browse files Browse the repository at this point in the history
  • Loading branch information
janisz committed Dec 12, 2022
1 parent 4736f80 commit b4def9c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ jobs:
uses: golangci/golangci-lint-action@v3

- name: Build
run: go build -v ./...
run: CGO_ENABLED=0 go build -a -tags netgo -ldflags '-s -w' -v ./...

- name: Compress binaries
uses: svenstaro/upx-action@v2
with:
file: junit2jira

- name: Test
run: go test -v ./...
Expand Down

0 comments on commit b4def9c

Please sign in to comment.