Skip to content

Commit

Permalink
make cue deps files available between jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine THEBAUD <[email protected]>
  • Loading branch information
Antoine THEBAUD committed Nov 19, 2024
1 parent d5e0917 commit 8d16a0a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ jobs:
with:
cli_version: "main-2024-11-13-e99df92a-distroless" # To replace by latest when `percli plugin update` command will be released
- run: go run ./scripts/get-schemas-deps/get-schemas-deps.go
- name: store plugin schema dependencies
uses: actions/upload-artifact@v4
with:
name: plugins-schema-deps
path: |
*/cue.mod/pkg
validate-schemas:
name: "Validate plugin schemas"
Expand All @@ -71,6 +77,10 @@ jobs:
- uses: ./.github/perses-ci/actions/setup_environment
with:
enable_go: true
- name: retrieve plugin schema dependencies
uses: actions/download-artifact@v4
with:
name: plugins-schema-deps
- run: go run ./scripts/validate-schemas/validate-schemas.go

release:
Expand Down

0 comments on commit 8d16a0a

Please sign in to comment.