Skip to content

Commit 09093a1

Browse files
committedJan 3, 2025·
Github action - test
1 parent 8463477 commit 09093a1

File tree

4 files changed

+91
-4
lines changed

4 files changed

+91
-4
lines changed
 

‎.github/workflows/validate.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Run tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
7+
validate:
8+
9+
strategy:
10+
matrix:
11+
# LTS and latest
12+
jdk: [8, 11, 17, 21]
13+
14+
name: "Clojure (Java ${{ matrix.jdk }})"
15+
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: "Setup Java ${{ matrix.jdk }}"
22+
uses: actions/setup-java@v1.4.3
23+
with:
24+
java-version: ${{ matrix.jdk }}
25+
26+
- uses: actions/setup-node@v4
27+
with:
28+
node-version: lts/hydrogen
29+
30+
- name: Setup Clojure
31+
uses: DeLaGuardo/setup-clojure@master
32+
with:
33+
cli: latest
34+
35+
- name: Cache deps dependencies
36+
uses: actions/cache@v4
37+
with:
38+
path: ~/.m2/repository
39+
key: ${{ runner.os }}-clojure-${{ hashFiles('**/deps.edn') }}
40+
restore-keys: |
41+
${{ runner.os }}-clojure
42+
43+
- run: npm ci
44+
45+
- run: ./bin/kaocha

‎.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
node_modules/
2-
package.json.lock
3-
package-lock.json
4-
yarn.lock
52
out/
63

74
.cpcache/

‎deps.edn

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:main-opts ["-m" "kaocha.runner"]}
1313

1414
; clojure -M:outdated --upgrade
15-
:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.11.1250"}}
15+
:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.11.1260"}}
1616
:main-opts ["-m" "antq.core"]}
1717

1818
:depstar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.1.303"}}

‎package-lock.json

+45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.