Files
versitygw/.github/workflows/goreleaser.yml
niksis02 ce9693e554 feat: upgrades actions checkout v4 -> v5 and go-setup v5 -> v6
This PR updates all GitHub workflows to use the latest major versions of key Go-related actions:

* **actions/checkout:** upgraded from `v4` → **`v5`**
* **actions/setup-go:** upgraded from `v5` → **`v6`**
2025-12-03 12:29:39 +04:00

35 lines
670 B
YAML

name: goreleaser
permissions:
contents: write
on:
push:
# run only against tags
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Fetch tags
run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: stable
- name: Run Releaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}