-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 872 Bytes
/
clojure.yml
File metadata and controls
32 lines (30 loc) · 872 Bytes
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
name: Clojure CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1
with:
# see: https://github.com/marketplace/actions/github-action-for-graalvm
java-version: '21' # for a specific JDK 21; or '21' for the latest JDK 21
components: 'native-image'
distribution: 'graalvm' # New 'distribution' option
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@12.1
with:
# see: https://github.com/marketplace/actions/setup-clojure
cli: 1.11.1.1429
- name: Run tests
run: make test
- name: Run clj-kondo linter
run: make lint
- name: Run build jar
run: make clean build