Skip to content

chore(deps): bump golang from 1.21.3-alpine to 1.21.4-alpine #170

chore(deps): bump golang from 1.21.3-alpine to 1.21.4-alpine

chore(deps): bump golang from 1.21.3-alpine to 1.21.4-alpine #170

Workflow file for this run

name: goreleaser
on:
pull_request:
push:
tags:
- "*"
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: "release --clean"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
if: startsWith(github.ref, 'refs/pull/')
with:
version: latest
args: "release --clean --snapshot"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}