diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index ef8187b..9360dbe 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -47,6 +47,14 @@ jobs: env: GO111MODULE: on + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + file: coverage.out + flags: unittests + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Install golangci-lint run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest