Add cache busting to inputs #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clojure CI | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: 11 | |
- name: Setup Clojure | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
tools-deps: '1.10.3.1040' | |
- name: Cache All The Things | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.m2/repository | |
~/.gitlibs | |
~/.clojure | |
~/.cpcache | |
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }} | |
- name: Run Tests | |
run: clojure -M:test:clj-tests | |
- run: clojure -T:build jar | |
- name: Check CljDoc | |
uses: cljdoc/[email protected] | |