Skip to content

Add GitHub Settings #21

Add GitHub Settings

Add GitHub Settings #21

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@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Test Snapshot Release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean --snapshot
- name: Upload Test Release Assets
uses: actions/upload-artifact@v3
with:
name: slack-notifier
path: dist/*
retention-days: 3