Skip to content

Commit

Permalink
Merge pull request #11 from yigit/cache-gradle-wrapper
Browse files Browse the repository at this point in the history
also cache gradle itself
  • Loading branch information
yigit authored Mar 15, 2020
2 parents 2847709 + 78f375a commit c9facd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
# An ordered list of keys to use for restoring the cache if no cache hit occurred for key
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/[email protected]
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
# Runs a single command using the runners shell
- name: build and test
run: ./gradlew spotlessCheck test

0 comments on commit c9facd4

Please sign in to comment.