-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (41 loc) · 828 Bytes
/
ci.yml
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
name: ci
on:
push:
branches: [ main ]
workflow_dispatch:
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
cibuild:
name: cibuild
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
steps:
- uses: actions/[email protected]
- run: script/bootstrap
- run: script/generate --check
- run: script/lint
test:
name: test
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
- windows-2019
- windows-2022
- macos-11
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- run: env
- run: go env
- uses: actions/[email protected]
- run: script/bootstrap
- run: script/test
- run: script/test -long