Skip to content

fix(cpp): handle download failures and don't use GitHub api to get la… #2481

fix(cpp): handle download failures and don't use GitHub api to get la…

fix(cpp): handle download failures and don't use GitHub api to get la… #2481

Workflow file for this run

name: test-codegen
on:
push:
branches:
- main
- renovate/**
pull_request:
branches:
- main
workflow_call:
jobs:
test-codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.0.x'
- name: install berp
run: |
dotnet tool update Berp --version 1.3.0 --tool-path ~/bin
echo "~/bin" >> $GITHUB_PATH
- name: generate code for all languages
run: |
make clean-gherkin-languages
make copy-gherkin-languages
make clean-generate
make generate
- name: check the repo is still clean after generation
run: |
git status --porcelain
git diff HEAD
[ -z "$(git status --porcelain)" ]