Skip to content

chore(cicd): bump actions/checkout from 6 to 7 (#10) #24

chore(cicd): bump actions/checkout from 6 to 7 (#10)

chore(cicd): bump actions/checkout from 6 to 7 (#10) #24

Workflow file for this run

name: release
on:
push:
branches: [main, master]
jobs:
release:
name: release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Get Go version
id: vars
run: |
goVersion=$(grep '^FROM go' .github/go/Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2)
echo "go_version=${goVersion}" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: Semantic Release
id: semver
uses: go-semantic-release/action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
changelog-generator-opt: "emojis=true"
allow-initial-development-versions: true