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