fix: update script references for CI

This commit is contained in:
Michael Smith 2025-04-14 17:58:59 +00:00
parent 73f3ea23c0
commit a2abeaee2f
3 changed files with 9 additions and 8 deletions

View File

@ -17,6 +17,6 @@ jobs:
with:
go-version: "1.23.2"
- name: Validate contributors
run: go build ./scripts/contributors && ./contributors
run: go build ./cmd/readmevalidation && ./readmevalidation
- name: Remove build file artifact
run: rm ./contributors
run: rm ./readmevalidation

2
.gitignore vendored
View File

@ -136,4 +136,4 @@ dist
.pnp.*
# Script output
/contributors
/readmevalidation

View File

@ -1,8 +1,9 @@
// This package is for validating all contributors within the main Registry
// directory. It validates that it has nothing but sub-directories, and that
// each sub-directory has a README.md file. Each of those files must then
// describe a specific contributor. The contents of these files will be parsed
// by the Registry site build step, to be displayed in the Registry site's UI.
// This package is for validating all the README files present in the Registry
// directory. The expectation is that each contributor, module, and template
// will have an associated README containing useful metadata. This metadata must
// be validated for correct structure during CI, because the files themselves
// are parsed and rendered as UI as part of the Registry site build step (the
// Registry site itself lives in a separate repo).
package main
import (