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:
|
with:
|
||||||
go-version: "1.23.2"
|
go-version: "1.23.2"
|
||||||
- name: Validate contributors
|
- name: Validate contributors
|
||||||
run: go build ./scripts/contributors && ./contributors
|
run: go build ./cmd/readmevalidation && ./readmevalidation
|
||||||
- name: Remove build file artifact
|
- name: Remove build file artifact
|
||||||
run: rm ./contributors
|
run: rm ./readmevalidation
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -136,4 +136,4 @@ dist
|
|||||||
.pnp.*
|
.pnp.*
|
||||||
|
|
||||||
# Script output
|
# Script output
|
||||||
/contributors
|
/readmevalidation
|
||||||
|
|||||||
@ -1,8 +1,9 @@
|
|||||||
// This package is for validating all contributors within the main Registry
|
// This package is for validating all the README files present in the Registry
|
||||||
// directory. It validates that it has nothing but sub-directories, and that
|
// directory. The expectation is that each contributor, module, and template
|
||||||
// each sub-directory has a README.md file. Each of those files must then
|
// will have an associated README containing useful metadata. This metadata must
|
||||||
// describe a specific contributor. The contents of these files will be parsed
|
// be validated for correct structure during CI, because the files themselves
|
||||||
// by the Registry site build step, to be displayed in the Registry site's UI.
|
// 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
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user