Skip to content

Commit 05e0701

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents dca5a59 + 6ff1b3e commit 05e0701

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/push-test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
22+
version: latest
23+
args: --timeout=5m

0 commit comments

Comments
 (0)