name: Test on: push: tags: - v* branches: - main pull_request: jobs: test: name: test runs-on: ubuntu-latest steps: - uses: actions/setup-go@v3 with: go-version: "1.21.x" - uses: actions/checkout@v3 - run: go test --race ./...