Skip to content

Commit c9b1571

Browse files
committed
Use tools.deps & shadow-cljs
1 parent 2b83eec commit c9b1571

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
id: maven-cache
1919
with:
2020
path: /root/.m2/repository
21-
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', '.github/workflows/**') }}
21+
key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', 'deps.edn', '.github/workflows/**') }}
2222
restore-keys: |
2323
${{ runner.os }}-maven-
2424
- name: npm cache
2525
uses: actions/cache@v1
2626
with:
2727
path: ~/.npm
28-
key: ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }}
28+
key: ${{ runner.os }}-npm-${{ hashFiles('package.json', 'package-lock.json') }}
2929
restore-keys: |
3030
${{ runner.os }}-npm-
3131
- name: shadow-cljs compiler cache

project.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
[reagent "1.1.0" :scope "provided"]
1717
[org.clojure/core.async "1.3.618"]
1818
[com.andrewmcveigh/cljs-time "0.5.2"]
19-
[day8/shadow-git-inject "0.0.5"]]
19+
[day8/shadow-git-inject "0.0.5"]
20+
[hashp/hashp "0.2.2"]]
2021

2122
:plugins [[day8/lein-git-inject "0.0.15"]
2223
[com.github.liquidz/antq "RELEASE"]

shadow-cljs.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{:lein true
1+
{:lein {:profile "+demo"}
22
:nrepl {:port 7777}
33

44
:builds {:demo

0 commit comments

Comments
 (0)