chore(deps): update hosting infrastructure #3121
This file contains 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: kubeconform | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
env: | |
golang-version: 1.23.4 | |
jobs: | |
apps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '${{ env.golang-version }}' | |
- run: go install github.com/yannh/kubeconform/cmd/kubeconform@latest | |
# - run: ./hack/generate-schemas.sh | |
- run: > | |
kubeconform | |
-schema-location 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/{{ .NormalizedKubernetesVersion }}-standalone{{ .StrictSuffix }}/{{ .ResourceKind }}.json' | |
#-schema-location '.crdschemas/{{ .ResourceKind }}.json' | |
#-skip CustomResourceDefinition | |
-skip CustomResourceDefinition,ServiceMonitor,PodMonitor,Probe,Prometheus,Alertmanager | |
-ignore-filename-pattern vendor/* | |
-ignore-filename-pattern jsonnet/* | |
-summary | |
apps/ | |
base: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '${{ env.golang-version }}' | |
- run: go install github.com/yannh/kubeconform/cmd/kubeconform@latest | |
# - run: ./hack/generate-schemas.sh | |
- run: > | |
kubeconform | |
-schema-location 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/{{ .NormalizedKubernetesVersion }}-standalone{{ .StrictSuffix }}/{{ .ResourceKind }}.json' | |
#-schema-location '.crdschemas/{{ .ResourceKind }}.json' | |
#-skip CustomResourceDefinition,Plan,Application,AppProject,ClusterIssuer | |
-skip CustomResourceDefinition,Plan,Application,AppProject,ClusterIssues,ServiceMonitor,PodMonitor | |
-ignore-filename-pattern vendor/* | |
-ignore-filename-pattern jsonnet/* | |
-summary | |
base/ |