ci: bump python and it's actions

* remove 3.7, add 3.10
 * use the latest versions of actions
This commit is contained in:
Alex Bezzubov
2024-05-11 19:49:24 +02:00
parent d0d4ffb143
commit 064b6fca57

View File

@ -4,16 +4,16 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
python-version: [3.7, 3.8, 3.9] python-version: ['3.8', '3.9', '3.10']
platform: [ubuntu-latest, macos-latest] platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- name: Install Python ${{ matrix.python-version }} - name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip