24 lines
566 B
YAML
24 lines
566 B
YAML
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:
|
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set Up Go
|
|
uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613
|
|
with:
|
|
cache: true
|
|
go-version-file: ./.go-version
|
|
- name: Verify new tests have go docs
|
|
run: make ci-vet-godoctests
|