diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml new file mode 100644 index 000000000..797a27730 --- /dev/null +++ b/.github/workflows/go-test.yml @@ -0,0 +1,23 @@ +name: Go Test + +on: + pull_request: + push: + branches: [ main ] + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version: "1.22" + cache: true + + - name: Run unit tests + run: go test ./... -count=1