diff options
| author | jvoisin | 2023-08-28 22:45:44 +0200 |
|---|---|---|
| committer | jvoisin | 2023-08-28 22:45:44 +0200 |
| commit | f12211f366dfd0447fdcd8ec922547c1821a0ad2 (patch) | |
| tree | a833cef46b56a5249a412bca0448fcac596e1f34 | |
| parent | fd36113966af1df5900e9ef9749ae1f2ff1b0145 (diff) | |
Fix the coverity run
| -rw-r--r-- | .github/workflows/coverity.yaml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/coverity.yaml b/.github/workflows/coverity.yaml index 5ea99c9..fc1b9de 100644 --- a/.github/workflows/coverity.yaml +++ b/.github/workflows/coverity.yaml | |||
| @@ -13,7 +13,20 @@ jobs: | |||
| 13 | - name: Install dependencies | 13 | - name: Install dependencies |
| 14 | run: | | 14 | run: | |
| 15 | apt update | 15 | apt update |
| 16 | DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends php-dev curl ca-certificates make gcc | 16 | DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends curl ca-certificates make |
| 17 | - name: Cache musl toolchain | ||
| 18 | uses: actions/cache@v3 | ||
| 19 | id: cache-musl | ||
| 20 | with: | ||
| 21 | path: x86_64-linux-musl-native | ||
| 22 | key: musl | ||
| 23 | - name: Downloading musl-based toolchain | ||
| 24 | if: steps.cache-musl.outputs.cache-hit != 'true' | ||
| 25 | run: wget --quiet https://musl.cc/x86_64-linux-musl-native.tgz | ||
| 26 | - name: Extracting musl-based toolchain | ||
| 27 | if: steps.cache-musl.outputs.cache-hit != 'true' | ||
| 28 | run: tar xzf ./x86_64-linux-musl-native.tgz | ||
| 29 | |||
| 17 | - name: Download Coverity Build Tool | 30 | - name: Download Coverity Build Tool |
| 18 | run: | | 31 | run: | |
| 19 | curl https://scan.coverity.com/download/linux64 --form token=$TOKEN --form project=jvoisin/fortify-headers -o cov-analysis-linux64.tar.gz | 32 | curl https://scan.coverity.com/download/linux64 --form token=$TOKEN --form project=jvoisin/fortify-headers -o cov-analysis-linux64.tar.gz |
