frostfs-contract/.forgejo/workflows/codegen.yml
Evgenii Stratonikov 6b7ce787f4
Some checks failed
DCO action / DCO (pull_request) Successful in 24s
Code generation / Generate wrappers (pull_request) Failing after 38s
Tests / Tests (pull_request) Successful in 1m6s
[#113] .forgejo: Add generate-wrappers action
Make it easier to maintain auto-generated code in the actual state.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-09-09 09:53:37 +03:00

18 lines
440 B
YAML

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