Files
llm-testbench/.github/workflows/release.yml
T
lukaszraczyloandGitHub dfb9fcc370 ci: migrate release to shared workflows and add PR and autoupdate (#1)
Replace the repo-owned release workflow with the shared go-release workflow.
It must run tests, calculate the version, and call goreleaser with ghcr.io Docker builds.
The release now triggers only on Go, module, Dockerfile, or goreleaser changes.
Add the shared go-pr workflow for pull request checks.
Add the shared go-autoupdate workflow to refresh go.mod and go.sum daily.
2026-10-02 04:41:55 +01:00

28 lines
464 B
YAML

name: Release
on:
push:
branches:
- main
paths:
- "**.go"
- "go.mod"
- "go.sum"
- "Dockerfile"
- ".goreleaser.yaml"
workflow_dispatch:
permissions:
contents: write
packages: write
id-token: write
jobs:
release:
uses: lukaszraczylo/shared-actions/.github/workflows/go-release.yaml@main
with:
go-version: ">=1.24"
docker-enabled: true
docker-registry: ghcr.io
secrets: inherit