Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
totakke committed Feb 6, 2024
1 parent 14a3395 commit ac7073a
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,26 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@4.0
with:
lein: '2.9.8'
- name: Run tests
run: lein with-profile +1.9:+1.10:+1.11 test
- name: Checkout
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'

- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@12.3
with:
lein: '2.11.1'

- name: Cache clojure dependencies
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: cljdeps-${{ hashFiles('project.clj') }}
restore-keys: cljdeps-

- name: Run tests
run: lein with-profile +1.9:+1.10:+1.11 test

0 comments on commit ac7073a

Please sign in to comment.