From dd6fd51d54e3560c338526d71eeb2531238f2a68 Mon Sep 17 00:00:00 2001 From: nnsnodnb Date: Fri, 29 Dec 2023 18:17:33 +0900 Subject: [PATCH] Update GitHub Actions --- .github/workflows/basic_checks.yml | 9 ++++++--- .github/workflows/run_tox.yml | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/basic_checks.yml b/.github/workflows/basic_checks.yml index 59d62eb..e0d0d35 100644 --- a/.github/workflows/basic_checks.yml +++ b/.github/workflows/basic_checks.yml @@ -9,14 +9,17 @@ env: jobs: basic_checks: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: ${{ matrix.python-version }} - name: Install requirements run: | python setup.py install diff --git a/.github/workflows/run_tox.yml b/.github/workflows/run_tox.yml index ec67d7e..05d5c14 100644 --- a/.github/workflows/run_tox.yml +++ b/.github/workflows/run_tox.yml @@ -14,8 +14,8 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: | 3.7