Skip to content

Bump sigs.k8s.io/kustomize/kyaml from 0.21.0 to 0.21.1 #1899

Bump sigs.k8s.io/kustomize/kyaml from 0.21.0 to 0.21.1

Bump sigs.k8s.io/kustomize/kyaml from 0.21.0 to 0.21.1 #1899

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: '1.25'
- name: make
run: make
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: helm-skaffold
path: ./test/skaffold.yaml
if-no-files-found: error
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: draft-binary
path: ./draft
if-no-files-found:
error
info:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.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