23 lines
466 B
YAML
23 lines
466 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: "1.20"
|
|
- uses: actions/checkout@v3
|
|
- uses: golangci/golangci-lint-action@v3
|
|
- run: make test
|
|
- uses: goreleaser/goreleaser-action@v4
|
|
with:
|
|
args: release --rm-dist
|
|
env:
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|