Skip to content

Merge pull request #25 from yswe/dependabot-pr-23 #76

Merge pull request #25 from yswe/dependabot-pr-23

Merge pull request #25 from yswe/dependabot-pr-23 #76

# Copyright 2024 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This workflow verifies that the generated files are in sync with API types.
name: Verify Codegen
on: [ push, pull_request ]
jobs:
run-verify-script:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
id: checkout
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
id: go
- name: Run the verify script
run: |
./hack/verify-codegen.sh
id: verify