From aa4f1179a3f943b088508983cf88713a05befe98 Mon Sep 17 00:00:00 2001 From: Olof Kindgren Date: Sat, 14 Sep 2024 12:19:05 +0200 Subject: [PATCH] Fix up Github actions --- .github/workflows/ci.yml | 15 +++++++++++---- .github/workflows/lint.yml | 4 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c271d412..b9a1d6a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,21 +23,28 @@ jobs: # https://github.com/olofk/fusesoc/issues/528 #- { icon: 🧊, name: windows-latest } pyver: - - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' - - '3.11.0-alpha - 3.11.0' + - '3.11' + - '3.12' + exclude: + #Fails because github can't find an arm64 image for Python 3.7??? + - os: {name: macos-latest} + pyver: '3.7' + #Fails because one test expects a different output during an exception + - os: {name: macos-latest} + pyver: '3.8' runs-on: ${{ matrix.os.name }} name: ${{ matrix.os.icon }} ${{ matrix.os.name }} | ${{ matrix.pyver }} steps: - name: 🧰 Repository Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🐍 Set up Python ${{ matrix.pyver }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.pyver }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c634d928..ff059968 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,6 +9,6 @@ jobs: pre-commit: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - uses: pre-commit/action@v2.0.0