ci(release): add release-please config and workflow job (#7)

This commit is contained in:
2025-03-24 11:36:39 +00:00
committed by GitHub
parent 27e0134701
commit b2112ca475
3 changed files with 31 additions and 0 deletions

View File

@@ -75,3 +75,16 @@ jobs:
check-latest: true
- name: Run tests
run: go test -v -count=1 -race ./...
release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
version: ${{ steps.release-please.outputs.version }}
steps:
- uses: jimeh/release-please-manifest-action@v2
id: release-please
with:
app-id: ${{ secrets.RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}