diff --git a/.github/workflows/test-and-snapshot.yml b/.github/workflows/test-and-snapshot.yml index 4c42520..e4f480a 100644 --- a/.github/workflows/test-and-snapshot.yml +++ b/.github/workflows/test-and-snapshot.yml @@ -11,11 +11,19 @@ jobs: with: distribution: 'adopt' java-version: '11' - cache: 'maven' - name: Setup Clojure uses: DeLaGuardo/setup-clojure@master with: tools-deps: '1.10.3.986' + - 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 -T:build ci :snapshot true - name: Deploy Snapshot @@ -35,11 +43,19 @@ jobs: with: distribution: 'adopt' java-version: ${{ matrix.java }} - cache: 'maven' - name: Clojure CLI uses: DeLaGuardo/setup-clojure@master with: tools-deps: '1.10.3.986' + - 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 -T:build ci - name: Check cljdoc.edn diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6449284..e3035e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,11 +14,19 @@ jobs: with: distribution: 'adopt' java-version: ${{ matrix.java }} - cache: 'maven' - name: Clojure CLI uses: DeLaGuardo/setup-clojure@master with: tools-deps: '1.10.3.986' + - 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 -T:build ci - name: Check cljdoc.edn