mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
Update dependencies in deps
Also fix conditional workflows that didn't trigger if changes were made to them
This commit is contained in:
committed by
Tienson Qin
parent
ee9f390761
commit
d0755ef161
5
.github/workflows/db.yml
vendored
5
.github/workflows/db.yml
vendored
@@ -6,11 +6,13 @@ on:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'deps/db/**'
|
||||
- '.github/workflows/db.yml'
|
||||
- '!deps/db/**.md'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'deps/db/**'
|
||||
- '.github/workflows/db.yml'
|
||||
- '!deps/db/**.md'
|
||||
|
||||
defaults:
|
||||
@@ -19,7 +21,6 @@ defaults:
|
||||
|
||||
env:
|
||||
CLOJURE_VERSION: '1.10.1.727'
|
||||
# setup-java@v2 dropped support for legacy Java version syntax.
|
||||
# This is the same as 1.8.
|
||||
JAVA_VERSION: '8'
|
||||
# This is the latest node version we can run.
|
||||
@@ -35,7 +36,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: 'yarn'
|
||||
|
||||
15
.github/workflows/graph-parser.yml
vendored
15
.github/workflows/graph-parser.yml
vendored
@@ -9,12 +9,14 @@ on:
|
||||
- 'deps/graph-parser/**'
|
||||
# db is a local dep that could break functionality in this lib and should trigger this
|
||||
- 'deps/db/**'
|
||||
- '.github/workflows/graph-parser.yml'
|
||||
- '!deps/graph-parser/**.md'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'deps/graph-parser/**'
|
||||
- 'deps/db/**'
|
||||
- '.github/workflows/graph-parser.yml'
|
||||
- '!deps/graph-parser/**.md'
|
||||
|
||||
defaults:
|
||||
@@ -23,7 +25,6 @@ defaults:
|
||||
|
||||
env:
|
||||
CLOJURE_VERSION: '1.10.1.727'
|
||||
# setup-java@v2 dropped support for legacy Java version syntax.
|
||||
# This is the same as 1.8.
|
||||
JAVA_VERSION: '8'
|
||||
# This is the latest node version we can run.
|
||||
@@ -36,17 +37,17 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: deps/graph-parser/yarn.lock
|
||||
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
@@ -62,7 +63,7 @@ jobs:
|
||||
babashka-version: ${{ env.BABASHKA_VERSION }}
|
||||
|
||||
- name: Clojure cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
id: clojure-deps
|
||||
with:
|
||||
path: |
|
||||
@@ -93,10 +94,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
|
||||
2
deps.edn
2
deps.edn
@@ -47,5 +47,5 @@
|
||||
:main-opts ["-m" "shadow.cljs.devtools.cli"]}
|
||||
|
||||
;; Use :replace-deps for tools. See https://github.com/clj-kondo/clj-kondo/issues/1536#issuecomment-1013006889
|
||||
:clj-kondo {:replace-deps {clj-kondo/clj-kondo {:mvn/version "2022.05.28"}}
|
||||
:clj-kondo {:replace-deps {clj-kondo/clj-kondo {:mvn/version "2022.05.31"}}
|
||||
:main-opts ["-m" "clj-kondo.main"]}}}
|
||||
|
||||
2
deps/graph-parser/deps.edn
vendored
2
deps/graph-parser/deps.edn
vendored
@@ -20,5 +20,5 @@
|
||||
org.clojure/clojurescript {:mvn/version "1.11.54"}}
|
||||
:main-opts ["-m" "cljs-test-runner.main"]}
|
||||
|
||||
:clj-kondo {:replace-deps {clj-kondo/clj-kondo {:mvn/version "2022.05.28"}}
|
||||
:clj-kondo {:replace-deps {clj-kondo/clj-kondo {:mvn/version "2022.05.31"}}
|
||||
:main-opts ["-m" "clj-kondo.main"]}}}
|
||||
|
||||
Reference in New Issue
Block a user