Bump sigs.k8s.io/kustomize/api from 0.17.1 to 0.21.0 #1727
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Draft JSON Integration Tests | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| deployments: read | |
| packages: none | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Set up Go | |
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version: '1.24' | |
| - name: make | |
| run: make | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: helm-skaffold | |
| path: ./test/skaffold.yaml | |
| if-no-files-found: error | |
| - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: draft-binary | |
| path: ./draft | |
| if-no-files-found: | |
| error | |
| info: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 | |
| with: | |
| name: draft-binary | |
| - run: chmod +x ./draft | |
| - run: | | |
| mkdir ./langtest | |
| - run: | | |
| ./draft info > ./info.json | |
| echo "Draft Info JSON schema:" | |
| cat test/info_schema.json | |
| echo "Draft Info JSON:" | |
| cat info.json | |
| - name: Validate JSON | |
| run: | | |
| npm install -g ajv-cli | |
| ajv validate -s test/info_schema.json -d info.json |