We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98d34b4 commit 66f78e1Copy full SHA for 66f78e1
.github/workflows/build.yml
.github/workflows/go.yml
@@ -0,0 +1,37 @@
1
+name: Go
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
+# pull_request_target:
9
+# types: [assigned, opened, synchronize, reopened]
10
11
+jobs:
12
13
+ build:
14
+ runs-on: self-hosted
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ with:
18
+ fetch-depth: 0
19
20
+# - name: Check commit messages
21
+# uses: wagoid/commitlint-github-action@v4
22
23
+ - name: Set up Go
24
+ uses: actions/setup-go@v2
25
26
+ go-version: 1.22
27
28
+ - name: Build
29
+ run: go build -v ./...
30
31
+ - uses: codfish/semantic-release-action@v1
32
33
+ dry_run: true
34
+ additional_packages: |
35
+ ['@semantic-release/exec']
36
+ env:
37
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments