24 lines
584 B
YAML
24 lines
584 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set Up Go
|
|
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
|
with:
|
|
cache: true
|
|
go-version-file: ./.go-version
|
|
- name: Verify new tests have go docs
|
|
run: make ci-vet-godoctests
|