Skip to content

Commit

Permalink
upgraded github actions (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmacdonald authored Nov 4, 2022
1 parent 3ffe309 commit 3962c26
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,19 @@ jobs:
run: |
brew install libomp
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Setup java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
distribution: 'zulu'

- name: Install Terrier snapshot
if: matrix.terrier == '5.4-SNAPSHOT'
Expand All @@ -53,7 +54,7 @@ jobs:
# follows https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d
- name: Loading Python & dependencies from cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-test.txt') }}
Expand Down

0 comments on commit 3962c26

Please sign in to comment.