Skip to content

deps: upgrade workflow to v0.3.32, modular to v1.12.3 #7

deps: upgrade workflow to v0.3.32, modular to v1.12.3

deps: upgrade workflow to v0.3.32, modular to v1.12.3 #7

Workflow file for this run

name: Release
on:
push:
tags: ['v*']
permissions:
contents: write
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
- uses: actions/setup-go@v5
with:
go-version: '1.26'
cache: true
- 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:
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.RELEASES_TOKEN }}