diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml new file mode 100644 index 0000000..ca34650 --- /dev/null +++ b/.forgejo/workflows/main.yaml @@ -0,0 +1,24 @@ +--- +on: + push: + workflow_dispatch: + +jobs: + fmt: + runs-on: 'self-hosted' + steps: + - uses: 'actions/checkout@v4' + - uses: 'actions/setup-go@v5' + with: + go-version-file: 'go.mod' + - run: | + make tidy no-dirty + test: + 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