We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3e4ac commit 2255070Copy full SHA for 2255070
.github/workflows/build.yml
@@ -0,0 +1,32 @@
1
+name: Go
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "*"
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ with:
14
+ fetch-depth: 0
15
16
+ - name: Set up Go
17
+ uses: actions/setup-go@v3
18
19
+ go-version: 1.21
20
+ id: go
21
22
+ - name: Test
23
+ run: go mod tidy && make test
24
25
+ - name: Run GoReleaser
26
+ uses: goreleaser/goreleaser-action@v5
27
28
+ distribution: goreleaser
29
+ version: latest
30
+ args: release --clean
31
+ env:
32
+ GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
0 commit comments