From 3c9c07d300af12b216a4474ea0ce0c809dfd1d64 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 15 Oct 2024 10:25:54 +1000 Subject: [PATCH] Update sip_check to modern python version --- .github/workflows/code_layout.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code_layout.yml b/.github/workflows/code_layout.yml index 6c1a0e1c1f45..7b3378890540 100644 --- a/.github/workflows/code_layout.yml +++ b/.github/workflows/code_layout.yml @@ -162,12 +162,13 @@ jobs: sip_check: runs-on: ubuntu-latest steps: - - name: Set up Python 3.7 - uses: actions/setup-python@v4 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: '3.12' - name: Install Requirements run: | + sudo apt-get update sudo apt install -y \ cpanminus \ libyaml-tiny-perl \ @@ -185,7 +186,7 @@ jobs: libtry-tiny-perl \ expect python -m pip install --upgrade pip - pip install autopep8 nose2 mock termcolor + pip install autopep8 nose2 mock termcolor pyyaml - name: Checkout uses: actions/checkout@v4 - name: Sip Checks