From: Vincent Bernat Date: Mon, 22 Mar 2021 09:30:08 +0000 (+0100) Subject: build: cache coverity toolchain X-Git-Tag: 1.0.9~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5dcbbf2bc4057e7140c0a8449bb9c1db008bb7e;p=thirdparty%2Flldpd.git build: cache coverity toolchain --- diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 0a616677..b88500c3 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -2,7 +2,7 @@ name: Coverity Scan on: workflow_dispatch: schedule: - - cron: '0 9 * * 5' # Weekly at 09:00 UTC on Thursday + - cron: '0 9 * * 2,5' jobs: build: @@ -11,9 +11,15 @@ jobs: - uses: actions/checkout@v2 with: submodules: true + - uses: actions/cache@v2 + id: coverity-toolchain-cache + with: + path: cov-analysis-linux64 + key: ${{ runner.os }}-coverity - name: Install stuff run: ./tests/ci/install.sh - name: Download Coverity Scan + if: steps.coverity-toolchain-cache.outputs.cache-hit != 'true' run: | wget -q https://scan.coverity.com/download/cxx/linux64 \ --post-data "token=$TOKEN&project=vincentbernat%2Flldpd" \