vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 45d1105545a28ee97373d30afdcf53b17e71450e parent e53fa6b7700bdcc370c17a9944fc610d67eefa81 Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 20 Apr 2021 21:21:37 +0200 ci: verify coverity scan script before using it Diffstat:
| M | .github/workflows/coverity-scan.yml | | | 9 | +++++++-- |
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml @@ -24,9 +24,14 @@ jobs: - name: Download Coverity Build Tool run: | - wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=martanne/vis" -O cov-analysis-linux64.tar.gz + wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=martanne/vis" -O coverity_tool.tgz + wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=martanne/vis&md5=1" -O coverity_tool.md5 + if ! (cat coverity_tool.md5; echo " coverity_tool.tgz") | md5sum -c --status; then + echo "Download checksum verification failed" + exit 1 + fi mkdir cov-analysis-linux64 - tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64 + tar xzf coverity_tool.tgz --strip 1 -C cov-analysis-linux64 env: TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}