From c9b15717a35950e787de9f3c48b38454e6beeafa Mon Sep 17 00:00:00 2001 From: Kimo Knowles Date: Sun, 17 Dec 2023 18:37:16 +0100 Subject: [PATCH] Use tools.deps & shadow-cljs --- .github/workflows/continuous-integration-workflow.yml | 4 ++-- project.clj | 3 ++- shadow-cljs.edn | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index fd6daca4..ef6e6fce 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -18,14 +18,14 @@ jobs: id: maven-cache with: path: /root/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', '.github/workflows/**') }} + key: ${{ runner.os }}-maven-${{ hashFiles('project.clj', 'deps.edn', '.github/workflows/**') }} restore-keys: | ${{ runner.os }}-maven- - name: npm cache uses: actions/cache@v1 with: path: ~/.npm - key: ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }} + key: ${{ runner.os }}-npm-${{ hashFiles('package.json', 'package-lock.json') }} restore-keys: | ${{ runner.os }}-npm- - name: shadow-cljs compiler cache diff --git a/project.clj b/project.clj index 9e827d48..6e2f9407 100644 --- a/project.clj +++ b/project.clj @@ -16,7 +16,8 @@ [reagent "1.1.0" :scope "provided"] [org.clojure/core.async "1.3.618"] [com.andrewmcveigh/cljs-time "0.5.2"] - [day8/shadow-git-inject "0.0.5"]] + [day8/shadow-git-inject "0.0.5"] + [hashp/hashp "0.2.2"]] :plugins [[day8/lein-git-inject "0.0.15"] [com.github.liquidz/antq "RELEASE"] diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 01ee022e..8b07cf6d 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -1,4 +1,4 @@ -{:lein true +{:lein {:profile "+demo"} :nrepl {:port 7777} :builds {:demo