Skip to content

Commit eae0e42

Browse files
authored
Merge pull request #65 from HackSoftware/github-actions-update
GitHub Actions: Update
2 parents 0b874bd + 1fa8998 commit eae0e42

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/django.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
services:
77
postgres:
8-
image: postgres:12.3
8+
image: postgres:latest
99
env:
1010
POSTGRES_USER: postgres
1111
POSTGRES_PASSWORD: postgres
@@ -15,13 +15,11 @@ jobs:
1515
# needed because the postgres container does not provide a healthcheck
1616
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
1717
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
2121
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
2523
- name: Install dependencies
2624
run: |
2725
python -m pip install --upgrade pip
@@ -35,7 +33,7 @@ jobs:
3533
needs: build
3634
if: github.ref == 'refs/heads/master'
3735
steps:
38-
- uses: actions/checkout@v1
36+
- uses: actions/checkout@v2
3937
- name: Deploy to Heroku
4038
env:
4139
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}

0 commit comments

Comments
 (0)