@@ -24,14 +24,14 @@ jobs:
24
24
runs-on : ubuntu-latest
25
25
26
26
steps :
27
- - uses : actions/checkout@v2
27
+ - uses : actions/checkout@v4
28
28
29
29
- name : Setup Python
30
- uses : actions/setup-python@v1
30
+ uses : actions/setup-python@v5
31
31
with :
32
- python-version : 3.9
32
+ python-version : 3.10
33
33
34
- - uses : actions/cache@v3
34
+ - uses : actions/cache@v4
35
35
id : wheels_cache
36
36
with :
37
37
path : ./wheels
@@ -69,16 +69,16 @@ jobs:
69
69
runs-on : ubuntu-latest
70
70
71
71
steps :
72
- - uses : actions/checkout@v2
72
+ - uses : actions/checkout@v4
73
73
74
- - uses : actions/cache@v3
74
+ - uses : actions/cache@v4
75
75
id : conda_cache
76
76
with :
77
77
path : |
78
78
tests/env
79
79
key : ${{ runner.os }}-test-env-${{ hashFiles('tests/test-env.yml') }}
80
80
81
- - uses : conda-incubator/setup-miniconda@v2
81
+ - uses : conda-incubator/setup-miniconda@v3
82
82
if : steps.conda_cache.outputs.cache-hit != 'true'
83
83
with :
84
84
channels : conda-forge,defaults
@@ -119,10 +119,10 @@ jobs:
119
119
- build-test-env-base
120
120
121
121
steps :
122
- - uses : actions/checkout@v2
122
+ - uses : actions/checkout@v4
123
123
124
124
- name : Get Conda Environment from Cache
125
- uses : actions/cache@v3
125
+ uses : actions/cache@v4
126
126
id : conda_cache
127
127
with :
128
128
path : |
@@ -149,7 +149,7 @@ jobs:
149
149
run : |
150
150
echo "Launching test db"
151
151
pgdata=$(pwd)/.dbdata
152
- /usr/lib/postgresql/16/bin/ initdb -D ${pgdata} --auth-host=md5 --encoding=UTF8
152
+ initdb -D ${pgdata} --auth-host=md5 --encoding=UTF8
153
153
pg_ctl -D ${pgdata} -l "${pgdata}/pg.log" start
154
154
createdb datacube
155
155
datacube system init
@@ -180,7 +180,7 @@ jobs:
180
180
if : |
181
181
github.repository == 'opendatacube/odc-tools'
182
182
183
- uses : codecov/codecov-action@v1
183
+ uses : codecov/codecov-action@v5
184
184
with :
185
185
fail_ci_if_error : false
186
186
verbose : false
@@ -194,17 +194,17 @@ jobs:
194
194
- build-wheels
195
195
196
196
steps :
197
- - uses : actions/checkout@v2
197
+ - uses : actions/checkout@v4
198
198
199
199
- name : Get Wheels from Cache
200
- uses : actions/cache@v3
200
+ uses : actions/cache@v4
201
201
id : wheels_cache
202
202
with :
203
203
path : ./wheels
204
204
key : wheels-${{ github.sha }}
205
205
206
206
- name : Get Conda Environment from Cache
207
- uses : actions/cache@v3
207
+ uses : actions/cache@v4
208
208
id : conda_cache
209
209
with :
210
210
path : |
@@ -232,7 +232,7 @@ jobs:
232
232
run : |
233
233
echo "Launching test db"
234
234
pgdata=$(pwd)/.dbdata
235
- /usr/lib/postgresql/16/bin/ initdb -D ${pgdata} --auth-host=md5 --encoding=UTF8
235
+ initdb -D ${pgdata} --auth-host=md5 --encoding=UTF8
236
236
pg_ctl -D ${pgdata} -l "${pgdata}/pg.log" start
237
237
createdb datacube
238
238
datacube system init
@@ -276,7 +276,7 @@ jobs:
276
276
runs-on : ubuntu-latest
277
277
278
278
steps :
279
- - uses : actions/checkout@v2
279
+ - uses : actions/checkout@v4
280
280
281
281
- name : Config
282
282
if : |
@@ -295,7 +295,7 @@ jobs:
295
295
if : steps.cfg.outputs.publish == 'yes'
296
296
uses : actions/setup-python@v1
297
297
with :
298
- python-version : 3.8
298
+ python-version : 3.10
299
299
300
300
- name : Install Twine
301
301
if : steps.cfg.outputs.publish == 'yes'
0 commit comments