Skip to content

Commit 9cf9033

Browse files
committed
[nop] Update project template
1 parent d985cef commit 9cf9033

File tree

4 files changed

+49
-20
lines changed

4 files changed

+49
-20
lines changed
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
1-
name: Main tests
1+
name: Clj tests
22
on: [push, pull_request]
33

44
jobs:
55
tests:
66
strategy:
77
matrix:
8-
java: ['17', '18', '19']
8+
java: ['17', '19', '21']
99
os: [ubuntu-latest]
10-
1110
runs-on: ${{ matrix.os }}
1211
steps:
1312
- uses: actions/checkout@v4
1413
- uses: actions/setup-java@v4
1514
with:
1615
distribution: 'corretto'
1716
java-version: ${{ matrix.java }}
18-
1917
- uses: DeLaGuardo/[email protected]
2018
with:
2119
lein: latest
22-
2320
- uses: actions/cache@v4
2421
id: cache-deps
2522
with:
2623
path: ~/.m2/repository
2724
key: deps-${{ hashFiles('project.clj') }}
2825
restore-keys: deps-
29-
30-
- run: lein test-all
26+
- run: lein test-clj

.github/workflows/cljs-tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Cljs tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
tests:
6+
strategy:
7+
matrix:
8+
java: ['21']
9+
os: [ubuntu-latest]
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-java@v4
14+
with:
15+
distribution: 'corretto'
16+
java-version: ${{ matrix.java }}
17+
- uses: DeLaGuardo/[email protected]
18+
with:
19+
lein: latest
20+
- uses: actions/cache@v4
21+
id: cache-deps
22+
with:
23+
path: ~/.m2/repository
24+
key: deps-${{ hashFiles('project.clj') }}
25+
restore-keys: deps-
26+
- run: lein test-cljs

.github/workflows/graal-tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Graal tests
22
on: [push, pull_request]
33

44
jobs:
5-
test:
5+
tests:
66
strategy:
77
matrix:
88
java: ['17']
@@ -26,7 +26,11 @@ jobs:
2626
- uses: actions/cache@v4
2727
with:
2828
path: ~/.m2/repository
29-
key: deps-${{ hashFiles('deps.edn') }}
29+
key: deps-${{ hashFiles('project.clj') }}
3030
restore-keys: deps-
3131

32-
- run: bb graal-tests
32+
- name: Run Graal tests
33+
run: bb graal-tests
34+
35+
# - name: Run Babashka tests
36+
# run: bb bb-tests

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<a href="https://www.taoensso.com/clojure" title="More stuff by @ptaoussanis at www.taoensso.com"><img src="https://www.taoensso.com/open-source.png" alt="Taoensso open source" width="340"/></a>
2-
[**API**][cljdoc docs] | [**Wiki**][GitHub wiki] | [Latest releases](#latest-releases) | [Slack channel][]
2+
[**API**][cljdoc] | [**Wiki**][GitHub wiki] | [Latest releases](#latest-releases) | [Slack channel][]
33

44
# Sente
55

@@ -17,7 +17,8 @@ Loosely inspired by [Socket.IO](https://socket.io/), it uses **core.async**, **W
1717

1818
- `2024-12-31` `v1.20.0` (dev): [release info](../../releases/tag/v1.20.0)
1919

20-
[![Main tests][Main tests SVG]][Main tests URL]
20+
[![Clj tests][Clj tests SVG]][Clj tests URL]
21+
[![Cljs tests][Cljs tests SVG]][Cljs tests URL]
2122
[![Graal tests][Graal tests SVG]][Graal tests URL]
2223

2324
See [here][GitHub releases] for earlier releases.
@@ -46,15 +47,16 @@ So you can ignore the underlying protocol and deal directly with Sente's unified
4647
## Documentation
4748

4849
- [Wiki][GitHub wiki] (getting started, usage, etc.)
49-
- API reference: [cljdoc][cljdoc docs], [Codox][Codox docs]
50+
- API reference via [cljdoc][cljdoc]
51+
- Support via [Slack channel][] or [GitHub issues][]
5052

5153
## Funding
5254

53-
You can [help support][sponsor] continued work on this project, thank you!! 🙏
55+
You can [help support][sponsor] continued work on this project and [others][my work], thank you!! 🙏
5456

5557
## License
5658

57-
Copyright &copy; 2012-2024 [Peter Taoussanis][].
59+
Copyright &copy; 2012-2025 [Peter Taoussanis][].
5860
Licensed under [EPL 1.0](LICENSE.txt) (same as Clojure).
5961

6062
<!-- Common -->
@@ -69,13 +71,14 @@ Licensed under [EPL 1.0](LICENSE.txt) (same as Clojure).
6971

7072
<!-- Project -->
7173

72-
[Codox docs]: https://taoensso.github.io/sente/
73-
[cljdoc docs]: https://cljdoc.org/d/com.taoensso/sente/CURRENT/api/taoensso.sente
74+
[cljdoc]: https://cljdoc.org/d/com.taoensso/sente/CURRENT/api/taoensso.sente
7475

7576
[Clojars SVG]: https://img.shields.io/clojars/v/com.taoensso/sente.svg
7677
[Clojars URL]: https://clojars.org/com.taoensso/sente
7778

78-
[Main tests SVG]: https://github.com/taoensso/sente/actions/workflows/main-tests.yml/badge.svg
79-
[Main tests URL]: https://github.com/taoensso/sente/actions/workflows/main-tests.yml
79+
[Clj tests SVG]: https://github.com/taoensso/sente/actions/workflows/clj-tests.yml/badge.svg
80+
[Clj tests URL]: https://github.com/taoensso/sente/actions/workflows/clj-tests.yml
81+
[Cljs tests SVG]: https://github.com/taoensso/sente/actions/workflows/cljs-tests.yml/badge.svg
82+
[Cljs tests URL]: https://github.com/taoensso/sente/actions/workflows/cljs-tests.yml
8083
[Graal tests SVG]: https://github.com/taoensso/sente/actions/workflows/graal-tests.yml/badge.svg
81-
[Graal tests URL]: https://github.com/taoensso/sente/actions/workflows/graal-tests.yml
84+
[Graal tests URL]: https://github.com/taoensso/sente/actions/workflows/graal-tests.yml

0 commit comments

Comments
 (0)