-
-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (40 loc) · 777 Bytes
/
test.yaml
File metadata and controls
43 lines (40 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Tests
on:
pull_request:
push:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
test:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.17'
- '1.18'
- '1.19'
- '1.20'
- '1.21'
- '1.22'
- '1.23'
- '1.24'
- '1.25'
- '1.26'
name: Go ${{ matrix.go }} test
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
-
name: Run tests
run: go test ./...