frostfs-contract/.forgejo/workflows/codegen.yml

19 lines
440 B
YAML
Raw Normal View History

name: Code generation
on: [pull_request]
jobs:
wrappers:
name: Generate wrappers
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.23'
cache: true
- name: Generate wrappers
run: make generate-wrappers
- name: Check that nothing has changed
run: git diff-index --exit-code HEAD