diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..483e4ba --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,26 @@ +name: test + +on: + push: + branches: + - main + +jobs: + test-default: + runs-on: ubuntu-latest + container: + image: gitea/runner-images:ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + + - name: Test + run: | + go test -v ./... + go vet ./...