2021-04-21 11:02:51 +02:00
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "v*"
|
|
|
|
|
|
|
|
jobs:
|
2021-06-01 13:57:27 +02:00
|
|
|
release:
|
|
|
|
name: Release
|
2021-04-21 11:02:51 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-16 14:38:08 +01:00
|
|
|
- uses: actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: "1.18"
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: golangci/golangci-lint-action@v3
|
2021-06-01 13:57:27 +02:00
|
|
|
- run: make test
|
|
|
|
- uses: goreleaser/goreleaser-action@v2
|
2021-04-21 11:02:51 +02:00
|
|
|
with:
|
|
|
|
args: release --rm-dist
|
|
|
|
env:
|
2021-08-05 11:44:40 +02:00
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|