From c21d2a74e9ef220eaeeed4cb1638c2016ee92c42 Mon Sep 17 00:00:00 2001
From: Maxwell Muoto <41130755+max-muoto@users.noreply.github.com>
Date: Wed, 22 May 2024 23:43:49 -0500
Subject: [PATCH] Matrix

---
 .github/workflows/ci.yml | 10 ++++++----
 pyproject.toml           |  2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0914017..09161a8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,13 +11,17 @@ on:
 jobs:
   build-and-test:
     runs-on: macos-latest
+    strategy:
+      matrix:
+        python-version: [3.8, 3.9, 3.10, 3.11, 3.12]
 
     steps:
       - uses: actions/checkout@v4
-      - name: Set up Python 3.12
+
+      - name: Set up Python ${{ matrix.python-version }}
         uses: actions/setup-python@v4
         with:
-          python-version: 3.12.2
+          python-version: ${{ matrix.python-version }}
 
       - name: Install Poetry
         uses: snok/install-poetry@v1.3.1
@@ -35,5 +39,3 @@ jobs:
 
       - name: Run pyright
         run: poetry run pyright
-
-  
\ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
index bfaf51a..d91e620 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,7 +23,7 @@ build-backend = "poetry.core.masonry.api"
 [tool.ruff]
 target-version = "py38"
 line-length = 100
-extend-select = ["I"]
+lint.extend-select = ["I"]
 
 
 [tool.ruff.lint.isort]