8
8
test :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v3
11
+ - uses : actions/checkout@v4
12
12
- run : pipx install "poetry>=1.1.12,<2"
13
- - uses : actions/setup-python@v4
13
+ - uses : actions/setup-python@v5
14
14
with :
15
- python-version-file : pyproject.toml
15
+ python-version : " 3.11 "
16
16
cache : ' poetry'
17
17
- run : pip install tox
18
18
- run : tox -e lint,py311-dj42
19
19
test_compatibility :
20
20
needs : test
21
21
runs-on : ubuntu-latest
22
22
strategy :
23
+ fail-fast : false
23
24
matrix :
24
25
include :
25
26
# Test with all supported Django versions, for all compatible Python versions.
39
40
# - python: "3.12"
40
41
# toxenv: py312-dj41
41
42
steps :
42
- - uses : actions/checkout@v3
43
+ - uses : actions/checkout@v4
43
44
- run : pipx install "poetry>=1.1.12,<2"
44
- - uses : actions/setup-python@v4
45
+ - uses : actions/setup-python@v5
45
46
with :
46
47
python-version : ${{ matrix.python }}
47
48
allow-prereleases : true
@@ -53,12 +54,12 @@ jobs:
53
54
needs : test
54
55
runs-on : ubuntu-latest
55
56
steps :
56
- - uses : actions/checkout@v3
57
- - uses : actions/setup-node@v3
57
+ - uses : actions/checkout@v4
58
+ - uses : actions/setup-node@v4
58
59
with :
59
60
node-version-file : ' .nvmrc'
60
61
- id : node-cache
61
- uses : actions/cache@v2
62
+ uses : actions/cache@v3
62
63
with :
63
64
# Cache node_modules rather than the npm cache, as we rarely update npm packages.
64
65
path : node_modules
86
87
- run : cat pyproject.toml | awk '{sub(/^version = .+/,"version = \"0.0.0.dev\"")}1' > pyproject.toml.tmp && mv pyproject.toml.tmp pyproject.toml
87
88
- run : poetry build
88
89
- run : mv dist site
89
- - uses : actions/configure-pages@v3
90
- - uses : actions/upload-pages-artifact@v2
90
+ - uses : actions/configure-pages@v4
91
+ - uses : actions/upload-pages-artifact@v3
91
92
with :
92
93
path : site
93
94
deploy_site :
@@ -101,4 +102,4 @@ jobs:
101
102
url : ${{ steps.deployment.outputs.page_url }}
102
103
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
103
104
steps :
104
- - uses : actions/deploy-pages@v2
105
+ - uses : actions/deploy-pages@v4
0 commit comments