Skip to content

chore(deps): update actions/checkout action to v4 (#174) #1255

chore(deps): update actions/checkout action to v4 (#174)

chore(deps): update actions/checkout action to v4 (#174) #1255

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-dotnet@v3
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)" ]