.github/workflows/main.yml: run static-analysis on bionic
commitd051ed77ee6bc0279bebe17b4b39b9034d4ca9fa
authorTaylor Blau <me@ttaylorr.com>
Mon, 8 Feb 2021 21:22:34 +0000 (8 16:22 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Feb 2021 22:38:07 +0000 (8 14:38 -0800)
tree03f505455ed85aabd737c586b3ab1dadc042760a
parentd5922333cb0cc15ddd75be3b102b42c34de9a96a
.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 <gitster@pobox.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml