From 3a05914d5b601d919c4d2f8f52b2e0997c8abbcb Mon Sep 17 00:00:00 2001 From: Ivan Fedorov Date: Sun, 7 Apr 2024 12:11:46 +0300 Subject: [PATCH] fix github test --- .github/workflows/github-test.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/github-test.yml b/.github/workflows/github-test.yml index 9ade2bf..a1aeb38 100644 --- a/.github/workflows/github-test.yml +++ b/.github/workflows/github-test.yml @@ -7,26 +7,30 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v3 - name: Setup JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '11' distribution: 'adopt' + - name: Setup Clojure + uses: DeLaGuardo/setup-clojure@12.5 + with: + lein: '2.9.1' # Specify the Leiningen version you need + - name: Cache Maven dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/project.clj') }} + path: | + ~/.m2/repository + ~/.gitlibs + ~/.deps.clj + key: cljdeps-${{ hashFiles('project.clj') }} restore-keys: | ${{ runner.os }}-m2- - - name: Setup Clojure - uses: DeLaGuardo/setup-clojure@2.0 - with: - lein: '2.9.5' # Specify the Leiningen version you need - - name: Run tests run: lein test