diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index d833c3a..ab30481 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -17,7 +17,10 @@ jobs: - uses: actions/setup-go@v2 with: go-version: "~1.17" - - run: go test -race ./... + - run: go test -race -coverprofile=coverage.out ./... + - uses: codecov/codecov-action@v2 + with: + files: coverage.out build: name: Build runs-on: ${{ matrix.os }}