Skip to content

Commit

Permalink
CI: update Ubuntu and Python in GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomka committed Dec 5, 2024
1 parent 431bf14 commit 8ce6515
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ defaults:

jobs:
lint-python:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
- run: |
pip install "$(grep -E '^flake8' django/requirements-test.txt)"
pip install "$(grep -E '^mypy' django/requirements-test.txt)"
Expand All @@ -21,7 +21,7 @@ jobs:
- run: mypy django/

lint-javascript:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
Expand All @@ -34,12 +34,12 @@ jobs:
name: Ensure that docs are valid

test-backend:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
# For PyPy use 'pypy-3.8'. It is disabled by default due to long build times.
python-version: ['3.8', '3.9']
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -66,7 +66,7 @@ jobs:
name: Run tests

test-frontend:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 8ce6515

Please sign in to comment.