File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 5
5
runs-on : ubuntu-latest
6
6
services :
7
7
postgres :
8
- image : postgres:12.3
8
+ image : postgres:latest
9
9
env :
10
10
POSTGRES_USER : postgres
11
11
POSTGRES_PASSWORD : postgres
@@ -15,13 +15,11 @@ jobs:
15
15
# needed because the postgres container does not provide a healthcheck
16
16
options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
17
17
steps :
18
- - uses : actions/checkout@v1
19
- - name : Set up Python 3.7
20
- uses : actions/setup-python@v1
18
+ - uses : actions/checkout@v2
19
+ - name : Set up Python 3.9
20
+ uses : actions/setup-python@v2
21
21
with :
22
- python-version : 3.7
23
- - name : psycopg2 prerequisites
24
- run : sudo apt-get install python-dev libpq-dev
22
+ python-version : 3.9
25
23
- name : Install dependencies
26
24
run : |
27
25
python -m pip install --upgrade pip
35
33
needs : build
36
34
if : github.ref == 'refs/heads/master'
37
35
steps :
38
- - uses : actions/checkout@v1
36
+ - uses : actions/checkout@v2
39
37
- name : Deploy to Heroku
40
38
env :
41
39
HEROKU_API_KEY : ${{ secrets.HEROKU_API_KEY }}
You can’t perform that action at this time.
0 commit comments