diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9773f5a..476ae04 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -85,6 +85,10 @@ jobs: name: "Checkout" with: fetch-depth: 0 + - name: Install UPX + uses: crazy-max/ghaction-upx@v3 + with: + install-only: true - uses: actions/setup-go@v5 name: "Set up Go" with: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 974ec52..7425ab7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -36,6 +36,12 @@ changelog: exclude: - "^docs:" - "^test:" +upx: + - enabled: true + goos: [linux] + goarch: [amd64, arm64] + compress: best + brute: true release: # If set to auto, will mark the release as not ready for production # in case there is an indicator for this in the tag e.g. v1.0.0-alpha