test.yml 308 B

1234567891011121314151617
  1. name: Test
  2. on:
  3. push:
  4. branches: [main]
  5. pull_request:
  6. types: [opened, synchronize, reopened]
  7. jobs:
  8. test:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v4
  12. - uses: actions/setup-go@v5
  13. with:
  14. go-version: stable
  15. - run: go test -cover -race ./...