From 8bd1b59b2ac69c1f8ac8b8335bd68acdaf238e60 Mon Sep 17 00:00:00 2001 From: Kaleb Barrett Date: Mon, 2 Jun 2025 09:13:35 -0600 Subject: [PATCH 1/2] Use codecov-action@v5 for Alpine --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c8b661..8504c54 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -205,16 +205,17 @@ jobs: run: | apk update apk upgrade - - name: Install System Python and Git + - name: Install Testing and Coverage Upload Dependencies run: | apk add python3 python3-dev py3-pip py3-nox py3-attrs git + apk add bash gpg curl - name: Download Source uses: actions/checkout@v4 - name: Run Tests run: | nox -e tests - name: Upload to codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true From 8abf761e9ac48bed83f39407b7be40f4237f1941 Mon Sep 17 00:00:00 2001 From: Kaleb Barrett Date: Mon, 2 Jun 2025 09:23:07 -0600 Subject: [PATCH 2/2] Support cancelling PR workflows when new commit is pushed --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8504c54..2e32bf2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -274,3 +274,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ contains(github.ref, 'master') }}