Update action versions, check for updates monthly with dependabot #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: chartboost/ruff-action@v1 | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
django-version: ["4.2", "5.0"] | |
python-version: ["3.10", "3.11", "3.12"] | |
include: | |
- django-version: "4.2" | |
python-version: "3.8" | |
- django-version: "4.2" | |
python-version: "3.9" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Django | |
run: pip install "Django~=${{ matrix.django-version }}.0" | |
- name: Run Tests | |
run: python manage.py test |