From a18aa137bc812f5e84f1402b86ed720530c1e3ac Mon Sep 17 00:00:00 2001 From: Christoph Hasse Date: Fri, 30 Jul 2021 14:04:59 +0200 Subject: [PATCH] check integrity of codecov executable Co-authored-by: Kevin Backhouse --- .github/workflows/on_PR_linux_special_buils.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/on_PR_linux_special_buils.yml b/.github/workflows/on_PR_linux_special_buils.yml index b2ff5e52..f7caf475 100644 --- a/.github/workflows/on_PR_linux_special_buils.yml +++ b/.github/workflows/on_PR_linux_special_buils.yml @@ -44,7 +44,12 @@ jobs: ctest --output-on-failure pip install gcovr gcovr -r ./../ -x --exclude-unreachable-branches --exclude-throw-branches -o coverage.xml . + curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --import curl -Os https://uploader.codecov.io/latest/linux/codecov + curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM + curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig + gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM + shasum -a 256 -c codecov.SHA256SUM chmod +x codecov ./codecov -f build/coverage.xml