Skip to content

chore: add goreleaser #1

chore: add goreleaser

chore: add goreleaser #1

Workflow file for this run

name: release
on:
push:
tags:
- **

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
workflow_dispatch:
inputs:
version:
description: "Release version"
required: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-go@v5
with:
go-version: "1.22.5"
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: go run github.com/goreleaser/goreleaser/v2@latest release