2023-02-07 09:41:04 +00:00
|
|
|
name: Check Go Docs for tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [opened, synchronize]
|
|
|
|
# Runs on PRs to main
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
godoc-test-check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-03-22 19:02:06 +00:00
|
|
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
|
2023-02-07 09:41:04 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Set Up Go
|
2023-03-22 19:02:06 +00:00
|
|
|
uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
|
2023-02-07 09:41:04 +00:00
|
|
|
with:
|
|
|
|
cache: true
|
2023-03-22 19:02:06 +00:00
|
|
|
go-version-file: ./.go-version
|
2023-02-07 09:41:04 +00:00
|
|
|
- name: Verify new tests have go docs
|
2023-03-22 19:02:06 +00:00
|
|
|
run: make ci-vet-godoctests
|