-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1.13 KB
/
validation_delaguardo.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
name: Commit validation - Delaguardo flavor
on:
push:
branches:
- main
- la
jobs:
clojure:
strategy:
matrix:
os: [ubuntu-latest] # , windows-latest There is a path issue
# macOS-latest is removed to save github costs
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: 1.11.4.1474 # Clojure CLI based on tools.deps
bb: 1.3.191 # Babashka
clj-kondo: 2024.08.01 # Clj-kondo
cljfmt: 0.10.2 # cljfmt
zprint: 1.2.9 # zprint
- name: Cache clojure dependencies
uses: actions/cache@v4
with:
path: /home/runner/.m2/repository
key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }}
restore-keys: cljdeps-
- name: Test
run: bb wf-4 -ibawl -d :common-test