-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (35 loc) · 868 Bytes
/
clojure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Clojure CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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