From e5d83f0e1c5c12294eac0858098473727ad92989 Mon Sep 17 00:00:00 2001 From: James Richardson Date: Fri, 29 Dec 2023 21:22:28 +0000 Subject: [PATCH] try matrix actions --- .github/workflows/python-app.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index c4eb3d56..aa672227 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -9,15 +9,17 @@ on: jobs: build: - + strategy: + matrix: + version: [ "3.10", "3.11", "3.12" ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.11 - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: ${matrix.version} - name: Update apt run: | sudo apt update