chore(deps): update runc-containerd-ca_watcher (patch) #23969
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: Validate Components | |
| on: pull_request | |
| jobs: | |
| cue: | |
| runs-on: ubuntu-latest | |
| environment: test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.24' | |
| - name: Install cue | |
| run: | | |
| go version | |
| GOPATH="$(go env | grep GOPATH | cut -d= -f2 | tr -d '"')" | |
| export PATH="$PATH:$GOPATH/bin" | |
| pushd /tmp | |
| GO111MODULE=on go install cuelang.org/go/cmd/cue@latest | |
| popd | |
| - name: Validate components.json conforms to cue schema | |
| run: | | |
| set -ex | |
| GOPATH="$(go env | grep GOPATH | cut -d= -f2 | tr -d '"')" | |
| export PATH="$PATH:$GOPATH/bin" | |
| cue vet -c ./schemas/components.cue ./parts/common/components.json | |
| - name: Validate windows_settings.json conforms to cue schema | |
| run: | | |
| set -ex | |
| GOPATH="$(go env | grep GOPATH | cut -d= -f2 | tr -d '"')" | |
| export PATH="$PATH:$GOPATH/bin" | |
| cue vet -c ./schemas/windows_settings.cue ./vhdbuilder/packer/windows/windows_settings.json | |
| - name: Validate components-test.json conforms to cue schema | |
| run: | | |
| set -ex | |
| GOPATH="$(go env | grep GOPATH | cut -d= -f2 | tr -d '"')" | |
| export PATH="$PATH:$GOPATH/bin" | |
| cue vet -c ./schemas/components.cue ./vhdbuilder/packer/windows/components-test.json | |
| version-consistency: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.24' | |
| - name: Run GPU managed components version consistency test | |
| working-directory: ./e2e | |
| run: | | |
| set -ex | |
| go test -v -run ^Test_Version_Consistency_GPU_Managed_Components$ . | |