Skip to content

Merge pull request #1 from GoCodeAlone/chore/modular-migration #5

Merge pull request #1 from GoCodeAlone/chore/modular-migration

Merge pull request #1 from GoCodeAlone/chore/modular-migration #5

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
env:
GONOSUMCHECK: github.com/GoCodeAlone/*
GONOSUMDB: github.com/GoCodeAlone/*
GOPRIVATE: github.com/GoCodeAlone/*
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.26'
- name: Configure git for private modules
run: git config --global url."https://${{ secrets.RELEASES_TOKEN }}@github.com/".insteadOf "https://github.com/"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.RELEASES_TOKEN }}