-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (37 loc) · 1.04 KB
/
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
46
47
48
49
name: Clojure CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: clojure:openjdk-17-tools-deps
steps:
- name: Checkout
uses: actions/[email protected]
## This is optional but will speed up clojure steps
- name: Cache mvn/git deps
uses: actions/cache@v3
id: cache-deps
with:
path: |
/root/.gitlibs
/root/.m2
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }}
## The clojure tools-deps image has very little installed software,
## install minimum requirements for the foundationdb one
- name: Install curl
run: |
apt-get update
apt-get -qyy install curl sudo
- name: Install foundationdb
uses: foundationdb-rs/[email protected]
with:
version: 6.2.20
- name: Check
run: clojure -T:project check
- name: Test
run: clojure -T:project test
- name: Lint
run: clojure -T:project lint
- name: Format
run: clojure -T:project format-check