mirror of
https://github.com/versity/versitygw.git
synced 2026-01-09 04:53:10 +00:00
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`**
35 lines
670 B
YAML
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 }}
|