1
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-27 02:36:47 +01:00

ci: Bump lint task image to Ubuntu Jammy

This commit is contained in:
Hennadii Stepanov 2023-01-16 13:30:00 +00:00
parent 9b86114058
commit 123043e99c
No known key found for this signature in database
GPG key ID: 410108112E7EA81F
2 changed files with 2 additions and 10 deletions

View file

@ -64,10 +64,10 @@ compute_credits_template: &CREDITS_TEMPLATE
use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'bitcoin/bitcoin' && $CIRRUS_PR != "" use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'bitcoin/bitcoin' && $CIRRUS_PR != ""
task: task:
name: 'lint [bionic]' name: 'lint [jammy]'
<< : *BASE_TEMPLATE << : *BASE_TEMPLATE
container: container:
image: ubuntu:bionic image: ubuntu:jammy
cpu: 1 cpu: 1
memory: 1G memory: 1G
# For faster CI feedback, immediately schedule the linters # For faster CI feedback, immediately schedule the linters

View file

@ -27,14 +27,6 @@ export PATH="${PYTHON_PATH}/bin:${PATH}"
command -v python3 command -v python3
python3 --version python3 --version
(
# Temporary workaround for https://github.com/bitcoin/bitcoin/pull/26130#issuecomment-1260499544
# Can be removed once the underlying image is bumped to something that includes git2.34 or later
sed -i -e 's/bionic/jammy/g' /etc/apt/sources.list
${CI_RETRY_EXE} apt-get update
${CI_RETRY_EXE} apt-get install -y --reinstall git
)
${CI_RETRY_EXE} pip3 install codespell==2.2.1 ${CI_RETRY_EXE} pip3 install codespell==2.2.1
${CI_RETRY_EXE} pip3 install flake8==4.0.1 ${CI_RETRY_EXE} pip3 install flake8==4.0.1
${CI_RETRY_EXE} pip3 install mypy==0.942 ${CI_RETRY_EXE} pip3 install mypy==0.942