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:
|
2023-02-02 13:08:41 +01:00
|
|
|
go-version: "1.20"
|
2022-03-16 14:38:08 +01:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: golangci/golangci-lint-action@v3
|
2021-06-01 13:57:27 +02:00
|
|
|
- run: make test
|
2022-08-04 22:30:04 +02:00
|
|
|
- uses: goreleaser/goreleaser-action@v3
|
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 }}"
|