diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4489e609..68f85a697 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -218,7 +218,7 @@ jobs: LSP: '${{ matrix.lsp }}' LSP_EXTRACT_FILE: '${{ matrix.lsp_extract_file }}' - if: always() - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: directory: empty name: Windows (${{ matrix.python }}, ${{ matrix.arch }}${{ matrix.extra_name }}) @@ -284,7 +284,7 @@ jobs: - if: >- always() && matrix.check_formatting != '1' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: directory: empty name: Ubuntu (${{ matrix.python }}${{ matrix.extra_name }}) @@ -326,7 +326,7 @@ jobs: - name: Run tests run: ./ci.sh - if: always() - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: directory: empty name: macOS (${{ matrix.python }}) @@ -345,9 +345,10 @@ jobs: - name: Install necessary packages # can't use setup-python because that python doesn't seem to work; # `python3-dev` (rather than `python:alpine`) for some ctypes reason, + # `curl`, `gpg`, `git`, `jq` for codecov-action v4/v5 to work (https://github.com/codecov/codecov-action/issues/1320). # `nodejs` for pyright (`node-env` pulls in nodejs but that takes a while and can time out the test). # `perl` for a platform independent `sed -i` alternative - run: apk update && apk add python3-dev bash nodejs perl + run: apk update && apk add python3-dev bash curl gpg git jq nodejs perl - name: Retrieve the project source from an sdist inside the GHA artifact # must be after `apk add` because it relies on `bash` existing uses: re-actors/checkout-python-sdist@release/v2 @@ -362,7 +363,7 @@ jobs: id: get-version run: echo "version=$(python -V | cut -d' ' -f2 | cut -d'.' -f1,2)" >> "${GITHUB_OUTPUT}" - if: always() - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: directory: empty name: Alpine