2023-09-30 19:57:17 -06:00
|
|
|
name: Go Bump
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "main" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
bump:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
fetch-tags: true
|
|
|
|
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: 1.21.1
|
|
|
|
|
|
|
|
- run: go install github.com/psanetra/git-semver/cli@master
|
|
|
|
|
2023-09-30 21:01:23 -06:00
|
|
|
- run: git tag v$(cli next --stable=false) && git push --tags
|
2023-09-30 19:57:17 -06:00
|
|
|
|
|
|
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|