diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 96e11bf..f1e34bf 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -1,4 +1,4 @@ -name: release-please +name: Call Reusable Golang Release-Please Workflow on: push: @@ -7,31 +7,6 @@ on: jobs: release-please: - runs-on: ubuntu-latest - outputs: - release_created: ${{ steps.release-please.outputs.release_created }} - steps: - - uses: google-github-actions/release-please-action@v4 - id: release-please - with: - release-type: go - - release: - runs-on: ubuntu-latest - needs: release-please - if: needs.release-please.outputs.release_created - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - with: - fetch-depth: 0 - - run: git fetch --force --tags - - uses: actions/setup-go@v5 - with: - go-version: "1.21" - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v6 - with: - version: latest - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: Jmainguy/workflows/.github/workflows/golang-release.yml@testing + secrets: + token: ${{ secrets.GITHUB_TOKEN }}