Cleanup - removed older clojure, JDK bumped to 21 #10
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: Build, Test | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install Clojure Tools | |
uses: DeLaGuardo/setup-clojure@12.1 | |
with: | |
lein: 2.10.0 | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.m2/repository | |
~/.deps.clj | |
key: deps-${{hashFiles('project.clj')}} | |
restore-keys: deps- | |
- name: Run Tests | |
run: lein test | |
- name: Prepare Uberjar | |
run: lein uberjar |