From c2a7d70de405d2b456d63419feaa6516cb00bf21 Mon Sep 17 00:00:00 2001 From: Pablo Zenteno Date: Sat, 10 Aug 2024 20:06:18 -0400 Subject: [PATCH] ci(codecov): add codecov to github actions --- .github/workflows/actions.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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