[#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>
This commit is contained in:
parent
ebfee475fe
commit
d4323bb0d1
1 changed files with 16 additions and 0 deletions
16
.forgejo/workflows/codegen.yml
Normal file
16
.forgejo/workflows/codegen.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
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
|
Loading…
Reference in a new issue