cache python

This commit is contained in:
Matthias 2021-12-03 01:08:49 +01:00
parent a05777029d
commit f51a3557ee
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -49,6 +49,7 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ env.python_version }} python-version: ${{ env.python_version }}
cache: 'pip'
- name: Install deps - name: Install deps
run: | run: |
pip install flake8==3.8.3 pip install flake8==3.8.3
@ -75,6 +76,7 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ env.python_version }} python-version: ${{ env.python_version }}
cache: 'pip'
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get update sudo apt-get update
@ -109,6 +111,7 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ env.python_version }} python-version: ${{ env.python_version }}
cache: 'pip'
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get update sudo apt-get update
@ -174,6 +177,7 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ env.python_version }} python-version: ${{ env.python_version }}
cache: 'pip'
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get update sudo apt-get update
@ -235,6 +239,7 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ env.python_version }} python-version: ${{ env.python_version }}
cache: 'pip'
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get install libpq-dev sudo apt-get install libpq-dev
@ -287,6 +292,7 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ env.python_version }} python-version: ${{ env.python_version }}
cache: 'pip'
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get install mysql-server libmysqlclient-dev sudo apt-get install mysql-server libmysqlclient-dev