-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (27 loc) · 704 Bytes
/
Copy pathtest.yml
File metadata and controls
35 lines (27 loc) · 704 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
name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Build
run: make build
- name: Run tests
run: make test
- name: Validate test suites
run: make suite-validate
- name: Check generated methods spec doc is up-to-date
run: |
make specgen
if ! git diff --exit-code -- docs/methods-spec.md; then
echo "Generated methods spec doc is out of date. Run 'make specgen' and commit the updated docs/methods-spec.md."
exit 1
fi