Skip to content

Commit 405344a

Browse files
cache pip and bundler
1 parent 982a639 commit 405344a

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/build-python.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ jobs:
3131
uses: actions/setup-python@v2
3232
with:
3333
python-version: ${{ matrix.python-version }}
34-
- name: Cache python dependencies
35-
uses: actions/cache@v2
36-
with:
37-
path: ${{ env.pythonLocation }}
38-
key: ${{ env.pythonLocation }}-${{ hashFiles('./python/requirements.txt') }}
34+
cache: 'pip'
3935

4036
- name: Download workflow artifact
4137
uses: dawidd6/[email protected]

.github/workflows/build-ruby.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ jobs:
2424
uses: ruby/[email protected]
2525
with:
2626
ruby-version: ${{ matrix.ruby-version }}
27+
bundler-cache: true
2728
- name: Set up Python
2829
uses: actions/setup-python@v2
2930
with:
3031
python-version: 3.9
32+
cache: 'pip'
33+
3134
- name: Download workflow artifact
3235
uses: dawidd6/[email protected]
3336
with:

0 commit comments

Comments
 (0)