diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a9b8ace..e60f2b2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -3,6 +3,7 @@ on: [push, pull_request] jobs: coverage: + name: Report Coverage runs-on: ubuntu-latest steps: - name: Install Go @@ -10,11 +11,14 @@ jobs: with: go-version: "1.17.6" + - name: Check out code + uses: actions/checkout@v2 + - name: Install deps run: | go mod download - - name: Run tests + - name: Run tests with coverage output run: | go test -race -covermode atomic -coverprofile=covprofile ./...