Skip to content

Commit

Permalink
Bump actions/cache from 2 to 3 (apache#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and ywcb00 committed Mar 28, 2022
1 parent 13b84a9 commit c06e62e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/applicationTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: actions/checkout@v3

- name: Cache Maven Dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-test-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
architecture: 'x64'

- name: Cache Pip Dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-docs-${{ hashFiles('src/main/python/docs/requires-docs.txt') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/functionsTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
uses: actions/checkout@v3

- name: Cache Maven Dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-test-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ jobs:
cache: 'maven'

- name: Cache Pip Dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('src/main/python/setup.py') }}

- name: Cache Datasets
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
src/main/python/systemds/examples/tutorials/mnist
src/main/python/systemds/examples/tutorials/adult/data.zip
key: ${{ runner.os }}-mnist-${{ hashFiles('src/main/python/systemds/examples/tutorials/mnist.py') }}-${{ hashFiles('src/main/python/systemds/examples/tutorials/adult.py') }}

- name: Cache Deb Dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /var/cache/apt/archives
key: ${{ runner.os }}-${{ hashFiles('.github/workflows/python.yml') }}
Expand Down

0 comments on commit c06e62e

Please sign in to comment.