Skip to content

Commit 6388e0f

Browse files
committed
feat: Build pipeline
1 parent 6757aa6 commit 6388e0f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: build
3+
4+
on:
5+
push:
6+
branches:
7+
- '*'
8+
tags-ignore:
9+
- '*'
10+
pull_request:
11+
types:
12+
- opened
13+
- reopened
14+
15+
jobs:
16+
goreleaser:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
with:
22+
fetch-depth: 0
23+
- name: Set up Go
24+
uses: actions/setup-go@v4
25+
with:
26+
go-version: ^1.22
27+
- name: Run GoReleaser
28+
uses: goreleaser/goreleaser-action@v4
29+
with:
30+
distribution: goreleaser
31+
version: latest
32+
args: release --snapshot --clean

0 commit comments

Comments
 (0)