-
-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (36 loc) · 893 Bytes
/
test.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
name: Automated tests
on:
push:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Restore cached dependencies
uses: actions/cache/restore@v3
with:
path: |
~/.m2/repository
~/.deps.clj
key: cljdeps-${{ hashFiles('deps.edn') }}
- name: Java setup
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
cli: 1.11.1.1413
- name: Run clojure linter
run: scripts/lint
- name: Run automated tests
run: scripts/run-tests
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.deps.clj
key: cljdeps-${{ hashFiles('deps.edn') }}
restore-keys: cljdeps-