From 9b86114058b3931c5b4ddc931a8a2cfdc8b085b6 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Mon, 16 Jan 2023 13:29:44 +0000 Subject: ci: Use pyenv's `python-build` to install Python in lint task --- .cirrus.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index b3ac6d06cb..a19c82c0e9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -67,11 +67,14 @@ task: name: 'lint [bionic]' << : *BASE_TEMPLATE container: - image: ubuntu:bionic # For python 3.6, oldest supported version according to doc/dependencies.md + image: ubuntu:bionic cpu: 1 memory: 1G # For faster CI feedback, immediately schedule the linters << : *CREDITS_TEMPLATE + python_cache: + folder: "/tmp/python" + fingerprint_script: cat .python-version /etc/os-release lint_script: - ./ci/lint_run_all.sh env: -- cgit v1.2.3 From 123043e99cf3aab9eef7e381b133477b518ac4d0 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Mon, 16 Jan 2023 13:30:00 +0000 Subject: ci: Bump lint task image to Ubuntu Jammy --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index a19c82c0e9..68eb92539e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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 -- cgit v1.2.3