Skip to content

Commit

Permalink
Attempting temurin 22 in github actions build - in clojure.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaju-smarsh committed Aug 24, 2024
1 parent 9fc7a0c commit 0f66d34
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,34 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.1.1
- name: Install dependencies
run: lein deps
- name: Run tests
run: lein test
- name: Checkout
uses: actions/checkout@v4.1.1

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

- name: Install Clojure Tools
uses: DeLaGuardo/setup-clojure@12.5
with:
lein: 2.11.2

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

- name: Install dependencies
run: lein deps

- name: Run Tests
run: lein test

- name: Prepare Uberjar
run: lein uberjar

0 comments on commit 0f66d34

Please sign in to comment.