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 d8561dc commit 9fcca3aCopy full SHA for 9fcca3a
.github/workflows/go.yml
@@ -0,0 +1,27 @@
1
+on:
2
+ pull_request:
3
+ push:
4
+ branches: [ main ]
5
+
6
+permissions:
7
+ contents: write
8
9
+jobs:
10
+ goreleaser:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
+ with:
16
+ fetch-depth: 0
17
+ - name: Set up Go
18
+ uses: actions/setup-go@v4
19
+ - name: Run GoReleaser
20
+ uses: goreleaser/goreleaser-action@v5
21
22
+ distribution: goreleaser
23
+ # 'latest', 'nightly', or a semver
24
+ version: 'latest'
25
+ args: release --clean
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments