ci: update 'static-analysis' to Ubuntu 22.04

GitHub Actions scheduled a brownout of Ubuntu 18.04, which canceled all runs of the 'static-analysis' job in our CI runs. Update to 22.04 to avoid this as the brownout later turns into a complete deprecation. The use of 18.04 was set in d051ed77ee6 (.github/workflows/main.yml: run static-analysis on bionic, 2021-02-08) due to the lack of Coccinelle being available on 20.04 (which continues today). Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Derrick Stolee committed Aug 23, 2022 at 17:28 UTC fef08dd32edb3ca751a51a0b88cf96b84fa79be8
1 file changed +1 -1
.github/workflows/main.yml
+1 -1
@@ -340,7 +340,7 @@ jobs:
340 if: needs.ci-config.outputs.enabled == 'yes'
341 env:
342 jobname: StaticAnalysis
343 - runs-on: ubuntu-18.04
343 + runs-on: ubuntu-22.04
344 steps:
345 - uses: actions/checkout@v1
346 - run: ci/install-dependencies.sh