vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit e53fa6b7700bdcc370c17a9944fc610d67eefa81 parent 5d8e0d6d2a78e7089359570b69c1cfd325d72f4d Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 20 Apr 2021 21:19:21 +0200 ci: verify codecov script before using it Diffstat:
| M | .github/workflows/macos.yml | | | 8 | +++++++- |
| M | .github/workflows/ubuntu.yml | | | 8 | +++++++- |
| M | .github/workflows/windows.yml | | | 9 | ++++++++- |
3 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml @@ -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 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml @@ -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