[PATCH] ci: update 'static-analysis' to Ubuntu 22.04
- From
Derrick Stolee via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Aug 23, 2022, 17:28 UTC
- Message-ID
- <pull.1334.git.1661275691795.gitgitgadget@gmail.com>
From: Derrick Stolee <derrickstolee@github.com>
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>
---
ci: update 'static-analysis' to Ubuntu 20.04
I noticed this while preparing my bundle URIs series. See an example
cancellation at [1]
[1]
https://github.com/gitgitgadget/git/runs/7954913465?check_suite_focus=true
I initially asked about this [2]. Thanks to Matthias Aßhauer for
pointing out that 22.04 has Coccinelle available [3].
[2]
https://lore.kernel.org/git/eb8779bc-fc41-f601-05f2-024e6bf3f316@github.com/
[3]
https://github.com/gitgitgadget/git/pull/1334#issuecomment-1223597655
Thanks,
* StoleePublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-1334%2Fderrickstolee%2Fstatic-analysis-ubuntu-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1334/derrickstolee/static-analysis-ubuntu-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/1334
.github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd1f52692a5..831f4df56c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -309,7 +309,7 @@ jobs: if: needs.ci-config.outputs.enabled == 'yes' env: jobname: StaticAnalysis - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - run: ci/install-dependencies.sh base-commit: 795ea8776befc95ea2becd8020c7a284677b4161
-- gitgitgadget