diff --git a/.github/workflows/gating.yaml b/.github/workflows/gating.yaml index c36629f54..b00bb9c71 100644 --- a/.github/workflows/gating.yaml +++ b/.github/workflows/gating.yaml @@ -23,8 +23,10 @@ jobs: - name: Install dependencies run: | # We need to install git inside the container otherwise the checkout action will use Git - # REST API and the .git directory won't be present which fails due to setuptools-scm - apt-get update && apt-get install --no-install-recommends --no-install-suggests -y git + # REST API and the .git directory won't be present which fails due to setuptools-scm. + # We also need to install curl and gpg to download and verify the codecov token. + apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl git gpg + pip install --upgrade pip nox - uses: actions/checkout@v6 @@ -38,8 +40,8 @@ jobs: nox -s "python-${{ matrix.python-version }}" - name: Upload coverage reports to Codecov - if: matrix.python-version == '3.12' - uses: codecov/codecov-action@v4 + if: matrix.python-version == '3.10' + uses: codecov/codecov-action@v6 with: token: ${{ secrets.CODECOV_TOKEN }}