Skip to content

Commit dedfe18

Browse files
committed
new testing.yml
1 parent 11003da commit dedfe18

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/testing.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Testing
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
strategy:
7+
matrix:
8+
go-version: ["1.20", 1.21.x, 1.22.x]
9+
os: [ubuntu-latest, macos-latest, windows-latest]
10+
runs-on: ${{ matrix.os }}
11+
12+
steps:
13+
- name: Setup Go
14+
uses: actions/setup-go@v5
15+
with:
16+
go-version: ${{ matrix.go-version }}
17+
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: Test
22+
run: |
23+
go version
24+
go test . -v -cover

0 commit comments

Comments
 (0)