Skip to content

CICD: GoReleaser version #2 #14

CICD: GoReleaser version #2

CICD: GoReleaser version #2 #14

Workflow file for this run

name: "PR: Run all tests"
on:
pull_request:
workflow_dispatch:
env:
cache-key: 1639697695 #Change to force cache reset `pwsh > Get-Date -UFormat %s`
go-mod-path: /go/pkg/mod
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
- name: Install stringer
run: |
go install golang.org/x/tools/cmd/stringer@latest
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
args: build --snapshot