diff --git a/.github/workflows/ci-go-tests.yml b/.github/workflows/ci-go-tests.yml new file mode 100644 index 0000000..ed05dd0 --- /dev/null +++ b/.github/workflows/ci-go-tests.yml @@ -0,0 +1,23 @@ +--- +name: Go Tests on PR + +on: + pull_request: + branches: + - main + +jobs: + tests: + name: Run Go Tests + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: 1.22 + + - name: Run tests: + run: go test ./...