Harden CI, release, and acceptance test safety

This commit is contained in:
beatz174-bit
2026-05-12 15:12:44 +10:00
parent 878a472005
commit 1980d1f08a
7 changed files with 159 additions and 382 deletions
+32
View File
@@ -0,0 +1,32 @@
name: release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}