Skip to content

Commit af4e271

Browse files
committed
Use actions/setup-python@v2
1 parent 987eed6 commit af4e271

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/django.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up Python 3.7
20-
uses: actions/setup-python@v1
19+
- name: Set up Python 3.9
20+
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.7
22+
python-version: 3.9
2323
- name: psycopg2 prerequisites
2424
run: sudo apt-get install python-dev libpq-dev
2525
- name: Install dependencies
@@ -35,7 +35,7 @@ jobs:
3535
needs: build
3636
if: github.ref == 'refs/heads/master'
3737
steps:
38-
- uses: actions/checkout@v1
38+
- uses: actions/checkout@v2
3939
- name: Deploy to Heroku
4040
env:
4141
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}

0 commit comments

Comments
 (0)