diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..0a4880b --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,19 @@ +name: test +on: + push: + branches: + - main +jobs: + test: + runs-on: ubuntu-latest + container: gitea/gitea:latest + steps: + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' + - name: Install dependencies + run: go mod download + - name: Run tests + run: go test ./...