From 1efc4b83fe078864d9fa67f652237db24a9a429a Mon Sep 17 00:00:00 2001 From: Andrew Senetar Date: Thu, 5 Jan 2023 23:07:51 -0600 Subject: [PATCH] ci: Upgrade actions & test matrix - Upgrade actions to newer versions - Update test matrix to include python 3.11 --- .github/workflows/default.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 413060a7..b6c62d4b 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -12,11 +12,11 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.10 - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - name: Set up Python 3.11 + uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip @@ -27,11 +27,11 @@ jobs: format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.10 - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - name: Set up Python 3.11 + uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip @@ -45,7 +45,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] exclude: - os: macos-latest python-version: 3.7 @@ -53,17 +53,21 @@ jobs: python-version: 3.8 - os: macos-latest python-version: 3.9 + - os: macos-latest + python-version: "3.10" - os: windows-latest python-version: 3.7 - os: windows-latest python-version: 3.8 - os: windows-latest python-version: 3.9 + - os: windows-latest + python-version: "3.10" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies