[#113] .forgejo: Add generate-wrappers action
All checks were successful
DCO action / DCO (pull_request) Successful in 23s
Tests / Tests (pull_request) Successful in 1m6s
Code generation / Generate wrappers (pull_request) Successful in 1m10s

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:
Evgenii Stratonikov 2024-09-09 09:34:15 +03:00
parent ebfee475fe
commit a2270adbdb

View file

@ -0,0 +1,20 @@
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: Git status
run: git status
- name: Check that nothing has changed
run: git diff-index HEAD