From a67f11f7a719cd3b1a4e95cf960673994a5276bc Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 12 Mar 2025 23:39:21 +0100 Subject: [PATCH] chore(tooling): test forgejo actions --- .forgejo/workflows/main.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .forgejo/workflows/main.yaml diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml new file mode 100644 index 0000000..82b6967 --- /dev/null +++ b/.forgejo/workflows/main.yaml @@ -0,0 +1,22 @@ +--- +on: + push: + workflow_dispatch: + +jobs: + fmt: + runs-on: 'self-hosted' + steps: + - uses: 'actions/checkout@v4' + - uses: 'actions/setup-go@v5' + - run: | + make tidy no-dirty + tests: + runs-on: 'self-hosted' + steps: + - uses: 'actions/checkout@v4' + - uses: 'actions/setup-go@v5' + with: + go-version-file: 'go.mod' + - run: | + make check tidy no-dirty