From 126aeef9d0965cf6d85bdf3275817f969ca8cc66 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Mon, 13 Jul 2020 17:41:37 -0300 Subject: [PATCH] fix: coverage Signed-off-by: Carlos Alexandro Becker --- .githooks/pre-commit | 5 ++--- .github/workflows/build.yml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.githooks/pre-commit b/.githooks/pre-commit index c71484f..59b0891 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -1,4 +1,3 @@ #!/bin/bash -# TODO: re-enable this later -# FILES=$(git diff --staged --diff-filter=AM --no-renames --name-only) -# make fmt lint test && git add $FILES +FILES=$(git diff --staged --diff-filter=AM --no-renames --name-only) +make fmt lint test && git add $FILES diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b91a8c..b253433 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: uses: codecov/codecov-action@v1.0.10 with: token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.txt + file: ./coverage.out - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2