Skip to content

Go auto release workflows #13

Go auto release workflows

Go auto release workflows #13

Workflow file for this run

name: Feature branch
on:
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
- name: Test Snapshot Release
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --config ./dev.goreleaser.yaml --clean --snapshot
- name: Upload Test Release Assets
uses: actions/upload-artifact@v4
with:
name: slack-notifier
path: dist/*
retention-days: 3