@@ -6,12 +6,12 @@ on: [push, pull_request]
6
6
jobs :
7
7
build :
8
8
name : build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})
9
- runs-on : ubuntu-18.04
9
+ runs-on : ubuntu-latest
10
10
11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
- python-version : ['3.7', '3.8', '3.9', '3.10', '3.11']
14
+ python-version : ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12-dev' ]
15
15
django-version : ['3.2', '4.0', '4.1', 'main']
16
16
17
17
exclude :
33
33
- python-version : ' 3.11'
34
34
django-version : ' 4.0'
35
35
36
+ - python-version : ' 3.12-dev'
37
+ django-version : ' 3.2'
38
+ - python-version : ' 3.12-dev'
39
+ django-version : ' 4.0'
40
+
36
41
services :
37
42
38
43
postgres :
@@ -65,20 +70,20 @@ jobs:
65
70
options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
66
71
67
72
steps :
68
- - uses : actions/checkout@v2
73
+ - uses : actions/checkout@v3
69
74
70
75
- name : Set up Python ${{ matrix.python-version }}
71
- uses : actions/setup-python@v2
76
+ uses : actions/setup-python@v4
72
77
with :
73
78
python-version : ${{ matrix.python-version }}
74
79
75
80
- name : Get pip cache dir
76
81
id : pip-cache
77
82
run : |
78
- echo "::set-output name= dir:: $(pip cache dir)"
83
+ echo "dir= $(pip cache dir)" >> $GITHUB_OUTPUT
79
84
80
85
- name : Cache
81
- uses : actions/cache@v2
86
+ uses : actions/cache@v3
82
87
with :
83
88
path : ${{ steps.pip-cache.outputs.dir }}
84
89
key :
98
103
DJANGO : ${{ matrix.django-version }}
99
104
100
105
- name : Upload coverage
101
- uses : codecov/codecov-action@v1
106
+ uses : codecov/codecov-action@v3
102
107
with :
103
108
name : Python ${{ matrix.python-version }}
0 commit comments