mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 19:37:27 -03:00
ci: Bump lint task image to Ubuntu Jammy
This commit is contained in:
parent
9b86114058
commit
123043e99c
2 changed files with 2 additions and 10 deletions
|
@ -64,10 +64,10 @@ compute_credits_template: &CREDITS_TEMPLATE
|
|||
use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'bitcoin/bitcoin' && $CIRRUS_PR != ""
|
||||
|
||||
task:
|
||||
name: 'lint [bionic]'
|
||||
name: 'lint [jammy]'
|
||||
<< : *BASE_TEMPLATE
|
||||
container:
|
||||
image: ubuntu:bionic
|
||||
image: ubuntu:jammy
|
||||
cpu: 1
|
||||
memory: 1G
|
||||
# For faster CI feedback, immediately schedule the linters
|
||||
|
|
|
@ -27,14 +27,6 @@ export PATH="${PYTHON_PATH}/bin:${PATH}"
|
|||
command -v python3
|
||||
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 flake8==4.0.1
|
||||
${CI_RETRY_EXE} pip3 install mypy==0.942
|
||||
|
|
Loading…
Reference in a new issue