added test workflow

This commit is contained in:
Kwitsch 2023-04-22 22:55:17 +02:00
parent bf7c1b3059
commit 9c55c5fd9e
1 changed files with 33 additions and 0 deletions

33
.github/workflows/goreleaser-test.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: GoReleaser Test
on:
workflow_dispatch:
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@v4
with:
go-version-file: go.mod
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
- name: Run GoReleaser check
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: check
- name: Run GoReleaser build
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: build