Skip to content

Bump actions/checkout from 3 to 4 #44

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #44

Workflow file for this run

name: goreleaser
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.18.2'
- run: go build
- name: Run GoReleaser
if: startsWith(github.ref, 'refs/tags/')
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}