From 08fa9e9b0bae95ac051f3b668af7291faf9acf8c Mon Sep 17 00:00:00 2001 From: Dumitru Ceara Date: Tue, 14 Nov 2023 21:40:57 +0100 Subject: [PATCH] ci: Pin Python, Fedora and Ubuntu runner versions. We initially thought always using the latest releases would be more maintainable because we didn't have to bump versions manually. It turns out that it's the opposite, CI suddenly starts to fail on versions where it used to pass. To avoid ever changing tools in our CI due to newer releases of Python/Fedora/Ubuntu. We can always bump versions manually. Fixes: 5ee07b32a01d ("ci: Change all GitHub CI jobs to use ubuntu-latest.") Fixes: 60a53abaa38a ("ci: Add automation for building the containers") Signed-off-by: Dumitru Ceara Acked-by: Ales Musil Acked-by: Mark Michelson (cherry picked from commit 278e0d3f9acb48523923cb56ad6393a5dbec18d8) --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eda011af95..f288e3f808 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,7 +103,7 @@ jobs: - name: set up python uses: actions/setup-python@v2 with: - python-version: '3.x' + python-version: '3.11' - name: prepare run: ./.ci/linux-prepare.sh @@ -172,7 +172,7 @@ jobs: - name: set up python uses: actions/setup-python@v2 with: - python-version: '3.x' + python-version: '3.11' - name: prepare run: ./.ci/osx-prepare.sh - name: build