@@ -19,33 +19,33 @@ jobs:
1919 strategy :
2020 matrix :
2121 # https://github.com/actions/python-versions/blob/main/versions-manifest.json
22- python-version : [3.8, 3.9, "3.10", "3.11", "3.12.0-rc.3 "]
22+ python-version : [3.8, 3.9, "3.10", "3.11", "3.12"]
2323 django-version :
2424 - " Django>=4.2,<5.0"
25- - " Django>=5.0a1 ,<5.1"
25+ - " Django>=5.0 ,<5.1"
2626 # - "https://github.com/django/django/archive/main.tar.gz"
2727 include :
2828 - drf : djangorestframework
29- python-version : " 3.11 "
29+ python-version : " 3.12 "
3030 django-version : " Django<5.0,>=4.2" # must be different from django-version
3131 exclude :
32- - django-version : " Django>=5.0a1 ,<5.1"
32+ - django-version : " Django>=5.0 ,<5.1"
3333 python-version : 3.8
34- - django-version : " Django>=5.0a1 ,<5.1"
34+ - django-version : " Django>=5.0 ,<5.1"
3535 python-version : 3.9
36-
36+ # - django-version: "https://github.com/django/django/archive/main.tar.gz"
37+ # python-version: 3.8
38+ # - django-version: "https://github.com/django/django/archive/main.tar.gz"
39+ # python-version: 3.9
40+ #
3741 steps :
38- - uses : actions/checkout@v3
39- - uses : actions/setup-python@v4
42+ - uses : actions/checkout@v4
43+ - uses : actions/setup-python@v5
4044 if : " !endsWith(matrix.python-version, '-dev')"
4145 with :
4246 python-version : ${{ matrix.python-version }}
4347 cache : " pip"
4448 cache-dependency-path : " pyproject.toml"
45- -
uses :
deadsnakes/[email protected] 46- if : endsWith(matrix.python-version, '-dev')
47- with :
48- python-version : ${{ matrix.python-version }}
4949 - name : Install deps
5050 run : |
5151 python -m pip install -e .[test]
@@ -58,13 +58,13 @@ jobs:
5858 env :
5959 PYTHONPATH : " src"
6060 steps :
61- - uses : actions/checkout@v3
62- - uses : actions/setup-python@v4
61+ - uses : actions/checkout@v4
62+ - uses : actions/setup-python@v5
6363 with :
64- python-version : " 3.11 "
64+ python-version : " 3.12 "
6565 cache : " pip"
6666 cache-dependency-path : " pyproject.toml"
67- - uses : actions/cache@v3
67+ - uses : actions/cache@v4
6868 with :
6969 path : ~/.cache/pre-commit
7070 key : pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
@@ -75,11 +75,11 @@ jobs:
7575 runs-on : ubuntu-latest
7676 timeout-minutes : 5
7777 steps :
78- - uses : actions/checkout@v3
78+ - uses : actions/checkout@v4
7979 - name : Setup Python
80- uses : actions/setup-python@v4
80+ uses : actions/setup-python@v5
8181 with :
82- python-version : " 3.11 "
82+ python-version : " 3.12 "
8383 cache : " pip"
8484 cache-dependency-path : " pyproject.toml"
8585 - name : Install dependencies
8888 - name : Package
8989 run : python -m hatch build
9090 - name : Upload dist
91- uses : actions/upload-artifact@v3
91+ uses : actions/upload-artifact@v4
9292 with :
9393 name : dist
9494 path : dist
9999 if : startsWith(github.ref, 'refs/tags/v')
100100 timeout-minutes : 5
101101 steps :
102- - uses : actions/checkout@v3
102+ - uses : actions/checkout@v4
103103 - name : Set release env
104104 id : release_output
105105 run : |
@@ -114,11 +114,11 @@ jobs:
114114 echo "::set-output name=VERSION::${VERSION}"
115115 echo "::set-output name=BODY::${BODY}"
116116 - name : Setup Python
117- uses : actions/setup-python@v4
117+ uses : actions/setup-python@v5
118118 with :
119- python-version : " 3.11 "
119+ python-version : " 3.12 "
120120 - name : Download dist
121- uses : actions/download-artifact@v3
121+ uses : actions/download-artifact@v4
122122 with :
123123 name : dist
124124 path : dist
0 commit comments