2024-01-27 22:32:42 +00:00
|
|
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
|
|
|
2022-09-02 09:49:35 +00:00
|
|
|
name: Verify codegen
|
|
|
|
|
2023-06-30 11:44:57 +00:00
|
|
|
permissions: {}
|
|
|
|
|
2022-09-02 09:49:35 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2024-09-10 14:52:09 +00:00
|
|
|
- main
|
|
|
|
- release-*
|
2022-09-02 09:49:35 +00:00
|
|
|
|
2023-01-06 11:33:50 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-09-02 09:49:35 +00:00
|
|
|
jobs:
|
|
|
|
verify-codegen:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-09-26 07:36:19 +00:00
|
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
2023-09-27 08:24:27 +00:00
|
|
|
- name: Setup caches
|
|
|
|
uses: ./.github/actions/setup-caches
|
|
|
|
timeout-minutes: 5
|
|
|
|
continue-on-error: true
|
|
|
|
with:
|
|
|
|
build-cache-key: verify-codegen
|
2023-01-05 15:52:52 +00:00
|
|
|
- name: Setup build env
|
|
|
|
uses: ./.github/actions/setup-build-env
|
2023-08-30 20:44:51 +00:00
|
|
|
timeout-minutes: 10
|
2022-09-02 09:49:35 +00:00
|
|
|
- name: Verify generated code is up to date
|
|
|
|
run: make verify-codegen
|