fix: update script references for CI
This commit is contained in:
parent
73f3ea23c0
commit
a2abeaee2f
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -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
2
.gitignore
vendored
@ -136,4 +136,4 @@ dist
|
||||
.pnp.*
|
||||
|
||||
# Script output
|
||||
/contributors
|
||||
/readmevalidation
|
||||
|
||||
@ -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 (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user