From: Taylor Blau Date: Mon, 8 Feb 2021 21:22:34 +0000 (-0500) Subject: .github/workflows/main.yml: run static-analysis on bionic X-Git-Tag: v2.31.0-rc0~57^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d051ed77ee6;p=thirdparty%2Fgit.git .github/workflows/main.yml: run static-analysis on bionic GitHub Actions is transitioning workflow steps that run on 'ubuntu-latest' from 18.04 to 20.04 [1]. This works fine in all steps except the static-analysis one, since Coccinelle isn't available on Ubuntu focal (it is only available in the universe suite). Until Coccinelle can be installed from 20.04's main suite, pin the static-analysis build to run on 18.04, where it can be installed by default. [1]: https://github.com/actions/virtual-environments/issues/1816 Reported-by: Junio C Hamano Signed-off-by: Taylor Blau Signed-off-by: Junio C Hamano --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aef6643648..5341dbd633 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -336,7 +336,7 @@ jobs: if: needs.ci-config.outputs.enabled == 'yes' env: jobname: StaticAnalysis - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 - run: ci/install-dependencies.sh