Skip to content

Release

Release #31

Workflow file for this run

name: Release
on:
release:
types: [created]
permissions:
contents: write
jobs:
go-test:
name: Test
uses: ./.github/workflows/test.yml

Check failure on line 13 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/test.yml" (source tag with sha:fc8844bd652e3489b4268258654ecbe771761ce4) : workflow is not reusable as it is missing a `on.workflow_call` trigger
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}