chore(tooling): test forgejo actions
This commit is contained in:
parent
89118c45d1
commit
fd0f5c33c1
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/main.yaml
Normal file
20
.forgejo/workflows/main.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
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'
|
||||||
|
- run: |
|
||||||
|
make check tidy no-dirty
|
Loading…
Add table
Reference in a new issue