CI build
1 changed files with 12 additions and 0 deletions
.gitea/workflows/build.yml ADDED
View File
| @@ -0,0 +1,12 @@ | ||
| 1 | +name: build | |
| 2 | +on: [push] | |
| 3 | + | |
| 4 | +jobs: | |
| 5 | + build: | |
| 6 | + runs-on: ubuntu-latest | |
| 7 | + steps: | |
| 8 | + - uses: actions/checkout@v4 | |
| 9 | + - uses: actions/setup-go@v5 | |
| 10 | + with: | |
| 11 | + go-version: '1.23' | |
| 12 | + - run: go vet ./... && go build ./... | |