aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-01-16 13:29:44 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-01-16 13:29:44 +0000
commit9b86114058b3931c5b4ddc931a8a2cfdc8b085b6 (patch)
tree38d3ee6dd9aa414e21eb5b27b91126f1ecaea744 /.cirrus.yml
parentcb32328d1b80d0ccd6eb9532bd8fe4e0a4de385e (diff)
downloadbitcoin-9b86114058b3931c5b4ddc931a8a2cfdc8b085b6.tar.xz
ci: Use pyenv's `python-build` to install Python in lint task
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml5
1 files changed, 4 insertions, 1 deletions
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: