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 973a82a commit 28d16f2Copy full SHA for 28d16f2
.github/workflows/release.yml
@@ -21,7 +21,7 @@ jobs:
21
- name: Set up Go
22
uses: actions/setup-go@v5
23
with:
24
- go-version: '>=1.23.0'
+ go-version: stable
25
cache: true
26
- name: Go Preflight Tests
27
run: |
.github/workflows/tests.yaml
@@ -0,0 +1,31 @@
1
+name: tests
2
+on:
3
+ push:
4
+ tags:
5
+ - v*
6
+ branches:
7
+ - main
8
+ pull_request:
9
+
10
+permissions:
11
+ contents: read
12
13
+jobs:
14
+ golangci:
15
+ name: test
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v4
20
+ with:
+ fetch-depth: 0
+ - run: git fetch --force --tags
+ - name: Set up Go
+ uses: actions/setup-go@v5
+ cache: true
28
+ - name: Go Preflight Tests
29
+ run: |
30
+ go mod tidy
31
+ go test -v ./...
0 commit comments