From a3c74e4fbbef1a59540e896770b3ab0e93c4d709 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 9 Sep 2024 09:34:15 +0300 Subject: [PATCH] [#113] .forgejo: Add generate-wrappers action Make it easier to maintain auto-generated code in the actual state. Signed-off-by: Evgenii Stratonikov --- .forgejo/workflows/codegen.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .forgejo/workflows/codegen.yml diff --git a/.forgejo/workflows/codegen.yml b/.forgejo/workflows/codegen.yml new file mode 100644 index 0000000..b5f9182 --- /dev/null +++ b/.forgejo/workflows/codegen.yml @@ -0,0 +1,18 @@ +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 HEAD