4ad111b3dd
* address lint reports * add diff-oss-ci and test-ui jobs to ci GHA workflow * Add actions linter workflow * Fix actions linter errors * pin 3rd party components with SHA hash and limit actionlint workflow to pull requests touching paths under .github directory * Fix actionlint runner * pin SHA hash of 3rd party components use .go-version file to provide go version to setup-go action remove unncessary ref parameter in checkout action --------- Co-authored-by: Brian Shore <bshore@hashicorp.com>
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
|