Skip to content

Commit

Permalink
feat: improve build performance (#7192)
Browse files Browse the repository at this point in the history
* feat: improve build performance
* feat: add cache in all runners

More detail here: https://github.blog/changelog/2021-11-23-github-actions-setup-python-now-supports-dependency-caching/
  • Loading branch information
vinitkumar committed Jan 23, 2022
1 parent 68a0a9f commit bdb04bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Expand Up @@ -12,7 +12,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: '3.9'
cache: 'pip'
- name: Cache dependencies
uses: actions/cache@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linters.yml
Expand Up @@ -13,6 +13,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
cache: 'pip'
- run: pip install --upgrade flake8
- name: flake8
uses: liskin/gh-problem-matcher-wrap@v1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -38,6 +38,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
sudo apt install gettext gcc -y
Expand Down Expand Up @@ -89,6 +90,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
sudo apt install gettext gcc -y
Expand Down Expand Up @@ -129,6 +131,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
sudo apt install gettext gcc -y
Expand Down

0 comments on commit bdb04bc

Please sign in to comment.