~martanne/vis

c45275951dd19db4a621656be66680d28fad8ae2 — Marc André Tanner 5 months ago cbd23b9
ci: verify codecov script before using it
3 files changed, 22 insertions(+), 3 deletions(-)

M .github/workflows/macos.yml
M .github/workflows/ubuntu.yml
M .github/workflows/windows.yml
M .github/workflows/macos.yml => .github/workflows/macos.yml +7 -1
@@ 49,4 49,10 @@ jobs:
      env:
        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
      run: |
        bash <(curl -s https://codecov.io/bash)
        curl -s https://codecov.io/bash > codecov
        curl -s https://raw.githubusercontent.com/codecov/codecov-bash/master/SHA256SUM > codecov.sha256
        if ! sha256sum -c --ignore-missing --status codecov.sha256 ; then
          echo "Download checksum verification failed"
          exit 1
        fi
        bash < codecov

M .github/workflows/ubuntu.yml => .github/workflows/ubuntu.yml +7 -1
@@ 55,4 55,10 @@ jobs:
      env:
        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
      run: |
        bash <(curl -s https://codecov.io/bash)
        curl -s https://codecov.io/bash > codecov
        curl -s https://raw.githubusercontent.com/codecov/codecov-bash/master/SHA256SUM > codecov.sha256
        if ! sha256sum -c --ignore-missing --status codecov.sha256 ; then
          echo "Download checksum verification failed"
          exit 1
        fi
        bash < codecov

M .github/workflows/windows.yml => .github/workflows/windows.yml +8 -1
@@ 54,4 54,11 @@ jobs:
      shell: bash
      env:
        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
      run: bash <(curl -s https://codecov.io/bash)
      run: |
        curl -s https://codecov.io/bash > codecov
        curl -s https://raw.githubusercontent.com/codecov/codecov-bash/master/SHA256SUM > codecov.sha256
        if ! sha256sum -c --ignore-missing --status codecov.sha256 ; then
          echo "Download checksum verification failed"
          exit 1
        fi
        bash < codecov