From 773e666699a46e3f1728545aa28dc5974f4a3bac Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 7 Aug 2024 17:55:40 -0400 Subject: [PATCH] Sync with other Mathics3 workflows --- .../{autoblack.yml => isort-and-black-checks.yml} | 8 ++++---- .github/workflows/ubuntu.yml | 6 +++--- .github/workflows/windows.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) rename .github/workflows/{autoblack.yml => isort-and-black-checks.yml} (89%) diff --git a/.github/workflows/autoblack.yml b/.github/workflows/isort-and-black-checks.yml similarity index 89% rename from .github/workflows/autoblack.yml rename to .github/workflows/isort-and-black-checks.yml index 9ecad8c..1b7863f 100644 --- a/.github/workflows/autoblack.yml +++ b/.github/workflows/isort-and-black-checks.yml @@ -9,11 +9,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Set up Python 3.9 - uses: actions/setup-python@v1 + - uses: actions/checkout@v4 + - name: Set up Python 3.11 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Install click run: pip install 'click==8.0.4' - name: Install Black diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 2b7e8dc..7fa2d1e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -8,14 +8,14 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 892a32c..78d2f07 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,11 +12,11 @@ jobs: strategy: matrix: os: [windows] - python-version: ['3.8', '3.9'] + python-version: ['3.9', '3.11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies