From 04ef639f9a5d22d3079c4a3183cdb42089f52a30 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Mon, 24 Jan 2022 17:34:21 -0500 Subject: [PATCH] ci: use snapshot goreleaser workflow from meta repository --- .github/workflows/build.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1d9987da..4f2e4c1d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,23 +29,7 @@ jobs: - name: Test run: go test ./... - goreleaser: - env: - GO111MODULE: "on" - DOCKER_CLI_EXPERIMENTAL: enabled - runs-on: ubuntu-latest - steps: - - uses: actions/setup-go@v2 - with: - go-version: "~1.17" - - uses: actions/checkout@v2 - - uses: anchore/sbom-action/download-syft@v0.6.0 - - uses: docker/setup-qemu-action@v1 - - uses: docker/setup-buildx-action@v1 - - uses: goreleaser/goreleaser-action@v2 - with: - distribution: goreleaser-pro - version: latest - args: --snapshot --skip-sign - env: - GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} \ No newline at end of file + snapshot: + uses: charmbracelet/meta/.github/workflows/snapshot.yml@main + secrets: + goreleaser_key: ${{ secrets.GORELEASER_KEY }} \ No newline at end of file