Skip to content

Commit b27409a

Browse files
committed
Merge branch 'js/ci-github-update-ubuntu'
This is Exhibit B to make the case that maintenance is always required, a software is never "done". Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2 parents 909e663 + 832d9f6 commit b27409a

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -451,21 +451,12 @@ jobs:
451451
if: needs.ci-config.outputs.enabled == 'yes'
452452
env:
453453
jobname: sparse
454-
CI_JOB_IMAGE: ubuntu-20.04
455-
runs-on: ubuntu-20.04
454+
CI_JOB_IMAGE: ubuntu-22.04
455+
runs-on: ubuntu-22.04
456456
concurrency:
457457
group: sparse-${{ github.ref }}
458458
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
459459
steps:
460-
- name: Download a current `sparse` package
461-
# Ubuntu's `sparse` version is too old for us
462-
uses: git-for-windows/get-azure-pipelines-artifact@v0
463-
with:
464-
repository: git/git
465-
definitionId: 10
466-
artifact: sparse-20.04
467-
- name: Install the current `sparse` package
468-
run: sudo dpkg -i sparse-20.04/sparse_*.deb
469460
- uses: actions/checkout@v4
470461
- name: Install other dependencies
471462
run: ci/install-dependencies.sh

ci/install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ StaticAnalysis)
119119
sparse)
120120
sudo apt-get -q update -q
121121
sudo apt-get -q -y install libssl-dev libcurl4-openssl-dev \
122-
libexpat-dev gettext zlib1g-dev
122+
libexpat-dev gettext zlib1g-dev sparse
123123
;;
124124
Documentation)
125125
sudo apt-get -q update

0 commit comments

Comments
 (0)