From 22608be027cd536a62f4f979b2f1110ea2e914b8 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 19 Nov 2024 15:10:25 -0800 Subject: [PATCH] Use fedora --- .github/actions/prepare-python/action.yml | 2 +- .github/workflows/python-format-and-tests.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/prepare-python/action.yml b/.github/actions/prepare-python/action.yml index 5f13687..9aa0cfe 100644 --- a/.github/actions/prepare-python/action.yml +++ b/.github/actions/prepare-python/action.yml @@ -15,7 +15,7 @@ runs: - name: "Install dnf" shell: bash run: | - sudo apt-get install python3-dnf + sudo dnf install python3-dnf python3 -c 'import dnf' python3 -c 'import sys; print(sys.path)' which python3 diff --git a/.github/workflows/python-format-and-tests.yml b/.github/workflows/python-format-and-tests.yml index aad8a4a..72cbb20 100644 --- a/.github/workflows/python-format-and-tests.yml +++ b/.github/workflows/python-format-and-tests.yml @@ -20,6 +20,8 @@ jobs: # use ubuntu-24.04, because the system version of python (3.12) # matches the version we use in ./.github/actions/prepare-python. runs-on: ubuntu-24.04 + container: + image: "registry.fedoraproject.org/fedora:41" steps: - uses: actions/checkout@v4 - uses: ./.github/actions/prepare-python