name: CI on: push: branches: [main] pull_request: branches: [main] jobs: build: runs-on: ubuntu-latest steps: - uses: https://gitea.com/actions/checkout@v4 - uses: https://gitea.com/actions/setup-go@v3 with: go-version-file: go.mod - run: go build ./... test: runs-on: ubuntu-latest steps: - uses: https://gitea.com/actions/checkout@v4 - uses: https://gitea.com/actions/setup-go@v3 with: go-version-file: go.mod - run: go test ./... vet: runs-on: ubuntu-latest steps: - uses: https://gitea.com/actions/checkout@v4 - uses: https://gitea.com/actions/setup-go@v3 with: go-version-file: go.mod - run: go vet ./...