There was an error while loading. Please reload this page.
2 parents e576ec2 + 31912fa commit 55e53b8Copy full SHA for 55e53b8
2 files changed
.github/workflows/ci.yaml
@@ -27,6 +27,15 @@ jobs:
27
with:
28
go-version-file: 'go.mod'
29
30
+ - name: Check docs up to date
31
+ run: |
32
+ set -euo pipefail
33
+ go run cmd/docs/main.go
34
+ if [[ `git status --porcelain` ]]; then
35
+ echo "Docs are not up-to-date"
36
+ exit 1
37
+ fi
38
+
39
- name: Run tests
40
run: go test -v ./pkg/...
41
.github/workflows/unit-test.yml
@@ -16,5 +16,14 @@ jobs:
16
- name: Set up Go
17
uses: actions/setup-go@v4
18
19
20
21
22
23
24
25
26
- name: Test
0 commit comments