We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dca5a59 + 6ff1b3e commit 05e0701Copy full SHA for 05e0701
1 file changed
.github/workflows/push-test.yml
@@ -0,0 +1,23 @@
1
+# .github/workflows/test.yml
2
+name: Test & Lint
3
+
4
+on: [push, pull_request]
5
6
+jobs:
7
+ test:
8
+ runs-on: ${{ matrix.os }}
9
+ strategy:
10
+ matrix:
11
+ os: [ubuntu-latest, macos-latest, windows-latest]
12
+ go-version: ['1.26']
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-go@v4
16
+ with:
17
+ go-version: ${{ matrix.go-version }}
18
+ - run: go test -v -race -coverprofile=coverage.out ./...
19
+ - run: go vet ./...
20
+ - uses: golangci/golangci-lint-action@v3
21
22
+ version: latest
23
+ args: --timeout=5m
0 commit comments