Skip to content

ci(tools): update actions/checkout action to v4.3.0 #165

ci(tools): update actions/checkout action to v4.3.0

ci(tools): update actions/checkout action to v4.3.0 #165

Workflow file for this run

---
name: go-binaries
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- v*
permissions:
contents: write
jobs:
binaries:
runs-on: ubuntu-latest
steps:
- name: Checkout source
id: source
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- name: Setup golang
id: golang
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: .go-version
- name: Run generate
id: generate
run: make generate
- name: Run release
id: release
run: make release
- name: Create GitHub Release
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: "dist/*"
token: ${{ secrets.BOT_PAT_TOKEN }}
- name: Update version
uses: nowactions/update-majorver@f2014bbbba95b635e990ce512c5653bd0f4753fb # v1.1.2
if: startsWith(github.ref, 'refs/tags/v')
...