Skip to content

Add GitHub workflows to check bindings and mocks are up-to-date #1

Add GitHub workflows to check bindings and mocks are up-to-date

Add GitHub workflows to check bindings and mocks are up-to-date #1

Workflow file for this run

name: check mocks up-to-date
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
make-mocks:
name: make mocks
runs-on: ubuntu-latest
steps:
- name: checkout EigenCert
uses: actions/checkout@v4
- name: install go1.21
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: run make mocks
run: |
make mocks
if [ ! -z "$(git status --porcelain)" ]; then
printf "Current generated mocks not up to date\n"
git diff
git status
exit 1
fi