-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (34 loc) · 922 Bytes
/
ci.yaml
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
# Copyright 2021- Rahul De
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
name: Tests
on:
push:
paths-ignore:
- "**.md"
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
- name: "Prepare Java"
uses: "actions/setup-java@v4"
with:
distribution: 'temurin'
java-version: '22'
- name: "Prepare tools-deps"
uses: "DeLaGuardo/setup-clojure@master"
with:
cli: latest
- name: "Apply Cache"
uses: "actions/cache@v4"
with:
path: |
~/.m2/repository
key: "${{ runner.os }}-navi-${{ hashFiles('deps.edn') }}"
restore-keys: "${{ runner.os }}-navi-"
- name: "Run tests"
run: "clojure -M:test"