-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (37 loc) · 1.11 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
name: Clojure CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
XDG_CONFIG_HOME: $HOME/.config
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prepare java
uses: actions/[email protected]
with:
distribution: "temurin"
java-version: "17"
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: latest
# (optional) To avoid rate limit errors please provide github token
# github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check out practicalli clojure-deps-edn
uses: actions/checkout@master
with:
repository: practicalli/clojure-deps-edn
path: practicalli
- name: Use practicalli
run: mkdir -p $XDG_CONFIG_HOME/clojure && cp practicalli/deps.edn $XDG_CONFIG_HOME/clojure/deps.edn
- name: Execute tests on Linux and MacOS
run: clojure -T:build obarbeau.build/test