From 0f2c1bcf35e6b025d61cd1cd282f08b3582a5da9 Mon Sep 17 00:00:00 2001 From: ddelange <14880945+ddelange@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:03:39 +0200 Subject: [PATCH] :construction_worker: Switch to codecov/codecov-action --- .github/workflows/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7476b01..a36762e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,8 @@ on: jobs: CI: runs-on: ubuntu-20.04 + permissions: + id-token: write # codecov/codecov-action strategy: matrix: python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] @@ -54,7 +56,7 @@ jobs: - name: Install dependencies run: | - pip install -U pip setuptools wheel codecov + pip install -U pip setuptools wheel make install - name: Lint @@ -64,11 +66,10 @@ jobs: - name: Test run: make test - - name: Codecov - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - run: | - codecov + - uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + use_oidc: true windows-smoketest: runs-on: windows-latest