Skip to content

Merge pull request #166 from deggja/ci/remove-hooks #138

Merge pull request #166 from deggja/ci/remove-hooks

Merge pull request #166 from deggja/ci/remove-hooks #138

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build-and-release:
name: Build and Release
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run Go Mod Tidy
run: |
cd backend
go mod tidy
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}