diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 6cd9d2af..c6590c05 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -9,6 +9,9 @@ on: jobs: macos_test: name: Execute tests + permissions: + contents: read + id-token: write strategy: fail-fast: false matrix: @@ -51,4 +54,6 @@ jobs: --build-path .build-test-release - uses: codecov/codecov-action@v7 with: + use_oidc: true + fail_ci_if_error: true verbose: true diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index abcf5a92..6b4a41ce 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -9,6 +9,9 @@ on: jobs: ubuntu_test: name: Execute tests on Ubuntu + permissions: + contents: read + id-token: write strategy: fail-fast: false matrix: @@ -52,4 +55,6 @@ jobs: --build-path .build-test-release - uses: codecov/codecov-action@v7 with: + use_oidc: true + fail_ci_if_error: true verbose: true