123456789101112131415161718 |
- name: Test
- on:
- push:
- branches: [main]
- pull_request:
- types: [opened, synchronize, reopened]
- jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-go@v3
- with:
- go-version: 1.19.x
- cache: true
- - run: go test -v -cover ./...
|