We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 388ab30 commit f68f712Copy full SHA for f68f712
.github/workflows/ci.yml
@@ -5,11 +5,25 @@ concurrency:
5
cancel-in-progress: true
6
7
on:
8
+ pull_request:
9
+ branches:
10
+ - main
11
push:
12
tags:
13
- "v*.*.*"
14
15
jobs:
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ if: github.event_name == 'pull_request'
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: actions/setup-go@v4
22
+ with:
23
+ go-version-file: ./go.mod
24
+ - run: |
25
+ make test
26
+
27
gh-release:
28
runs-on: ubuntu-latest
29
if: startsWith(github.ref, 'refs/tags/')
@@ -19,7 +33,7 @@ jobs:
33
fetch-depth: 0
34
- uses: actions/setup-go@v4
35
with:
- go-version: stable
36
37
- uses: goreleaser/goreleaser-action@v5
38
39
args: release --clean
0 commit comments