diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d127af..98b4d33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,3 +41,38 @@ jobs: env: CGO_ENABLED: "1" run: pnpm -s build + + linux-release-builds: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Setup CI Environment + uses: ./.github/actions/setup-ci-env + with: + go-version-file: go.mod + apt-packages: "build-essential gcc-aarch64-linux-gnu libc6-dev-arm64-cross" + + - name: GoReleaser check (macOS) + uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: latest + args: check --config .goreleaser.yaml + + - name: GoReleaser check (linux/windows) + uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: latest + args: check --config .goreleaser-linux-windows.yaml + + - name: GoReleaser build (linux amd64/arm64) + uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: latest + args: build --snapshot --clean --config .goreleaser-linux-windows.yaml --id wacli_linux_amd64 --id wacli_linux_arm64