Skip to content

Commit 672a1b1

Browse files
Add basic clj and deps CI
1 parent 5169e2e commit 672a1b1

File tree

3 files changed

+39
-6
lines changed

3 files changed

+39
-6
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
1-
on: [push]
1+
name: CI
2+
3+
on:
4+
push:
25

36
jobs:
4-
test:
7+
8+
lint:
59
runs-on: ubuntu-latest
6-
name: Test the action
10+
711
steps:
812
- name: Checkout
913
uses: actions/checkout@v3
1014

11-
# TODO: Test a real graph
12-
- name: Run github action
13-
uses: logseq/rdf-export@main
15+
- name: Set up Java
16+
uses: actions/setup-java@v3
17+
with:
18+
distribution: 'zulu'
19+
java-version: 17
20+
21+
- name: Set up Clojure
22+
uses: DeLaGuardo/setup-clojure@master
23+
with:
24+
cli: 1.11.1.1237
25+
26+
- name: Run clj-kondo lint
27+
run: clojure -M:clj-kondo --lint src
28+
29+
- name: Check outdated dependencies
30+
uses: liquidz/antq-action@main
31+
with:
32+
excludes: 'clojure/brew-install'

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
on: [push]
2+
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
name: Test the action
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
11+
# TODO: Test a real graph
12+
- name: Run github action
13+
uses: logseq/rdf-export@main

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/node_modules
22
/.nbb
3+
/.cpcache

0 commit comments

Comments
 (0)