@@ -10,15 +10,17 @@ jobs:
10
10
lint :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
15
- - name : Set up Python 3.7
16
- uses : actions/setup-python@v1
15
+ - name : Set up Python 3.9
16
+ uses : actions/setup-python@v4
17
17
with :
18
- python-version : 3.7
18
+ python-version : 3.9
19
19
20
20
- name : Install pipenv
21
- uses : dschep/install-pipenv-action@v1
21
+ run : |
22
+ pip install --upgrade pip
23
+ pip install pipenv
22
24
23
25
- name : Install dependencies
24
26
run : |
34
36
pipenv run flake8 . --output-file test-reports/flake8
35
37
36
38
- name : Upload flake test results
37
- uses : actions/upload-artifact@master
39
+ uses : actions/upload-artifact@v3
38
40
with :
39
41
name : flake8-report
40
42
path : test-reports/flake8
46
48
47
49
services :
48
50
postgres :
49
- image : postgres:12.5-alpine
51
+ # https://hub.docker.com/_/postgres
52
+ # https://devcenter.heroku.com/articles/heroku-postgresql#version-support
53
+ # Match version to Heroku app. Keep in sync with docker-compose.yml
54
+ image : postgres:14-alpine
50
55
env :
51
56
POSTGRES_USER : postgres
52
57
POSTGRES_PASSWORD : postgres
@@ -62,15 +67,17 @@ jobs:
62
67
63
68
steps :
64
69
- name : Check out repository code
65
- uses : actions/checkout@v2
70
+ uses : actions/checkout@v3
66
71
67
- - name : Set up Python 3.7
68
- uses : actions/setup-python@v1
72
+ - name : Set up Python 3.9
73
+ uses : actions/setup-python@v4
69
74
with :
70
- python-version : 3.7
75
+ python-version : 3.9
71
76
72
- - name : Install pipenv
73
- uses : dschep/install-pipenv-action@v1
77
+ - name : Install pipenv
78
+ run : |
79
+ pip install --upgrade pip
80
+ pip install pipenv
74
81
75
82
- name : Install dependencies
76
83
run : |
0 commit comments