Skip to content

Commit 3f4e7f0

Browse files
authored
Merge pull request #2 from OpenVoxProject/dep_updates
Update clj-parent, lein-parent
2 parents 74ac182 + 3ea043f commit 3f4e7f0

File tree

2 files changed

+59
-3
lines changed

2 files changed

+59
-3
lines changed

.github/workflows/pr-testing.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
name: lein_test
3+
4+
on:
5+
pull_request: {}
6+
push:
7+
branches:
8+
- main
9+
10+
# minimal permissions
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
run-lein-tests:
16+
name: lein test - Java ${{ matrix.java }}
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
java:
22+
- '21'
23+
- '17'
24+
steps:
25+
- name: Check out repository code
26+
uses: actions/checkout@v6
27+
- name: Setup java
28+
uses: actions/setup-java@v5
29+
with:
30+
distribution: temurin
31+
java-version: ${{ matrix.java }}
32+
- name: Install Clojure tools
33+
uses: DeLaGuardo/setup-clojure@13.4
34+
with:
35+
cli: latest # Clojure CLI based on tools.deps
36+
lein: latest # Leiningen
37+
boot: latest # Boot.clj
38+
bb: latest # Babashka
39+
clj-kondo: latest # Clj-kondo
40+
cljstyle: latest # cljstyle
41+
zprint: latest # zprint
42+
- name: Run lein tests with update profile
43+
run: |
44+
set -x
45+
set -e
46+
lein version
47+
echo "Running tests"
48+
lein -U test
49+
50+
tests:
51+
needs:
52+
- run-lein-tests
53+
runs-on: ubuntu-24.04
54+
name: Test suite
55+
steps:
56+
- run: echo Test suite completed

project.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject org.openvoxproject/trapperkeeper-comidi-metrics "0.1.4-SNAPSHOT"
1+
(defproject org.openvoxproject/trapperkeeper-comidi-metrics "1.0.0-SNAPSHOT"
22
:description "Comidi/HTTP Metrics for Trapperkeeper"
33
:url "http://github.com/openvoxproject/trapperkeeper-comidi-metrics"
44
:license {:name "Apache-2.0"
@@ -8,15 +8,15 @@
88

99
:pedantic? :abort
1010

11-
:parent-project {:coords [org.openvoxproject/clj-parent "7.5.1"]
11+
:parent-project {:coords [org.openvoxproject/clj-parent "7.6.3"]
1212
:inherit [:managed-dependencies]}
1313

1414
:dependencies [[org.clojure/clojure]
1515
[prismatic/schema]
1616
[org.openvoxproject/trapperkeeper-metrics]
1717
[org.openvoxproject/comidi]]
1818

19-
:plugins [[lein-parent "0.3.7"]]
19+
:plugins [[lein-parent "0.3.9"]]
2020

2121
:deploy-repositories [["releases" {:url "https://clojars.org/repo"
2222
:username :env/CLOJARS_USERNAME

0 commit comments

Comments
 (0)