44 push :
55 branches :
66 - main
7- schedule :
8- - cron : " 0 0 * * *"
97jobs :
108 lint :
119 runs-on : ubuntu-latest
1210 steps :
13- - uses : actions/checkout@v3
11+ - uses : actions/checkout@v4
1412 - name : Set up Python
15- uses : actions/setup-python@v4
16- with :
17- python-version : " 3.11"
13+ uses : actions/setup-python@v5
1814 - name : Install tox
1915 run : |
2016 pip install --upgrade pip
4137 ports :
4238 - 9000:9000
4339 steps :
44- - uses : actions/checkout@v3
40+ - uses : actions/checkout@v4
4541 - name : Set up Python
46- uses : actions/setup-python@v4
47- with :
48- python-version : " 3.11"
42+ uses : actions/setup-python@v5
4943 - name : Install tox
5044 run : |
5145 pip install --upgrade pip
6559 DJANGO_MINIO_STORAGE_SECRET_KEY : minioSecretKey
6660 DJANGO_STORAGE_BUCKET_NAME : django-storage
6761 - name : Upload model graphs
68- uses : actions/upload-artifact@v2
62+ uses : actions/upload-artifact@v4
6963 with :
7064 name : graphs
7165 path : .tox/graphs/*.png
8882 ports :
8983 - 9000:9000
9084 steps :
91- - uses : actions/checkout@v3
85+ - uses : actions/checkout@v4
9286 - name : Set up Python
93- uses : actions/setup-python@v4
94- with :
95- python-version : " 3.11"
87+ uses : actions/setup-python@v5
9688 - name : Install tox
9789 run : |
9890 pip install --upgrade pip
@@ -107,23 +99,21 @@ jobs:
10799 DJANGO_MINIO_STORAGE_SECRET_KEY : minioSecretKey
108100 DJANGO_STORAGE_BUCKET_NAME : django-storage
109101 - name : Stash coverage
110- uses : actions/upload-artifact@v2
102+ uses : actions/upload-artifact@v4
111103 with :
112104 name : .coverage
113105 path : project/coverage.xml
114- - uses : codecov/codecov-action@v2
106+ - uses : codecov/codecov-action@v5
115107 with :
116108 token : ${{ secrets.CODECOV_TOKEN }}
117109 files : project/coverage.xml
118110 verbose : true
119111 test-demo :
120112 runs-on : ubuntu-latest
121113 steps :
122- - uses : actions/checkout@v3
114+ - uses : actions/checkout@v4
123115 - name : Set up Python
124- uses : actions/setup-python@v4
125- with :
126- python-version : " 3.11"
116+ uses : actions/setup-python@v5
127117 - name : Install Dependencies
128118 run : |
129119 pip install --upgrade pip
@@ -139,11 +129,11 @@ jobs:
139129 DJANGO_SETTINGS_MODULE : myimages.settings
140130 DJANGO_DEBUG : true
141131 - name : Stash coverage
142- uses : actions/upload-artifact@v2
132+ uses : actions/upload-artifact@v4
143133 with :
144134 name : .coverage
145135 path : demo/coverage.xml
146- - uses : codecov/codecov-action@v2
136+ - uses : codecov/codecov-action@v5
147137 with :
148138 token : ${{ secrets.CODECOV_TOKEN }}
149139 files : demo/coverage.xml
0 commit comments