Update pythonpackage.yml to use workflow v4 standards

This commit is contained in:
David Vadnais 2025-03-03 22:12:16 +00:00 committed by GitHub
parent b0bf8da8ea
commit e63763c0e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,20 +5,20 @@ on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu 24
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
django-version: ["32","4"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-testing.txt')}}-${{ hashFiles('tox.ini') }}-${{ matrix.python-version }}-${{ matrix.django-version }}