-
Notifications
You must be signed in to change notification settings - Fork 23
33 lines (33 loc) · 880 Bytes
/
test.yaml
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
name: test
on:
push: { branches: [main] }
pull_request: { branches: [main] }
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.0-rc.2
cache: false
- run: make check
env: { SKIP_LINT: true }
# - uses: golangci/golangci-lint-action@v4
# with: { version: "latest" }
- run: make cov
env: { GOEXPERIMENT: rangefunc }
- uses: codecov/codecov-action@v4
env: { CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" }
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.0-rc.2
cache: false
- run: make test