1name: coverage 2on: 3 pull_request: 4 branches: 5 - v2 6 7jobs: 8 report: 9 runs-on: "ubuntu-latest" 10 name: report 11 steps: 12 - uses: actions/checkout@v4 13 with: 14 fetch-depth: 0 15 - name: Setup go 16 uses: actions/setup-go@v4 17 with: 18 go-version: "1.21" 19 - name: Run tests with coverage 20 run: ./ci.sh coverage -d "${GITHUB_BASE_REF-HEAD}"