From 232197d527c90112880a42fc575283073ac6fe49 Mon Sep 17 00:00:00 2001 From: Jacob Oaks Date: Mon, 29 Apr 2024 16:15:24 -0400 Subject: [PATCH] CI: Upgrade codecov action & use token Currently, codecov actions on PRs stall for a very long time. This PR upgrades to the latest codecov action and usages the token when uploading. This will fix the stalling issue. --- .github/workflows/go.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 93be7441..308352bf 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -45,4 +45,6 @@ jobs: run: make cover - name: Upload coverage to codecov.io - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}