Skip to content

Commit eed565f

Browse files
authored
Merge pull request #26 from jmichalicek/update-github-actions
Test on python 3.11, django 4.1, update to latest versions of each of the github actions being used
2 parents 53f64a5 + 5f27a37 commit eed565f

File tree

4 files changed

+14
-17
lines changed

4 files changed

+14
-17
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v1
42+
uses: github/codeql-action/init@v2
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v1
53+
uses: github/codeql-action/autobuild@v2
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v1
67+
uses: github/codeql-action/analyze@v2

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- name: Set up Python
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v4
2020
with:
2121
python-version: '3.x'
2222
- name: Install dependencies

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10"]
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install dependencies

tox.ini

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
[tox]
22
envlist =
3-
{py37,py38,py39}-django-22
4-
{py37,py38,py39}-django-3
5-
{py37,py38,py39}-django-31
63
{py37,py38,py39,py310}-django-32
7-
{py38,py39,py310}-django-40
4+
{py38,py39,py310,311}-django-40
5+
{py38,py39,py310,311}-django-41
86
stats
97

108
[gh-actions]
@@ -13,7 +11,7 @@ python =
1311
3.8: py38
1412
3.9: py39
1513
3.10: py310
16-
14+
3.11: py311
1715

1816
[testenv]
1917
setenv =
@@ -23,18 +21,17 @@ commands =
2321
mypy django_mail_viewer
2422

2523
deps =
26-
django-22: django>=2.2,<2.3
27-
django-3: Django>=3,<3.1
28-
django-31: Django>=3.1,<3.2
2924
django-32: Django>=3.2,<3.3
3025
django-40: Django>=4.0,<4.1
26+
django-41: Django>=4.1,<4.2
3127
-r{toxinidir}/requirements_test.txt
3228

3329
basepython =
3430
py37: python3.7
3531
py38: python3.8
3632
py39: python3.9
3733
py310: python3.10
34+
py311: python3.11
3835
stats: python3.9
3936

4037
[testenv:stats]

0 commit comments

Comments
 (0)