From fe81d16f756e5ea9db909e42e6caf1e17e040f86 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Wed, 20 Mar 2024 11:07:33 +0000 Subject: [PATCH] feat: codecov (#1023) * chore: missing schedule on auto merge Signed-off-by: Alex Jones * feat: adding codecoverage back in Signed-off-by: Alex Jones --------- Signed-off-by: Alex Jones --- .github/workflows/test.yaml | 9 ++++++--- renovate.json | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bc4194f..f2b591c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,11 +9,10 @@ on: - main env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.21" jobs: build: - runs-on: ubuntu-latest steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 @@ -24,4 +23,8 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Run test - run: go test ./... + run: go test ./... -coverprofile=coverage.txt + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/renovate.json b/renovate.json index 38e3cf0..bb4cd9b 100644 --- a/renovate.json +++ b/renovate.json @@ -12,6 +12,9 @@ ], "automerge": true, "automergeType": "pr", + "schedule": [ + "at any time" + ], "platformAutomerge": true, "packageRules": [ {