From d94d1a9669763297e2e88200315360511c363465 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 22 Nov 2024 17:21:45 -0500 Subject: [PATCH 1/2] Bump codecov action version This commit bumps the codecov action version. We were previously using v3 which no longer is supported and can't be used anymore. This upgrades the action to use the latest version v5. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e14f211..37cdcae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,7 +83,7 @@ jobs: - name: Run coverxml run: tox -ecoverxml - name: codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: files: ./cover/coverage.xml # optional flags: unittests # optional From 95746c0f33fcd6c20b75a3cbc496beefb97991da Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 22 Nov 2024 17:27:56 -0500 Subject: [PATCH 2/2] Add token secret to config --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37cdcae..b9c78ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -90,6 +90,7 @@ jobs: name: stestr # optional fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false) + token: ${{ secrets.CODECOV_TOKEN }} docs: name: docs runs-on: ubuntu-latest