Update dependencies in deps

Also fix conditional workflows that didn't trigger if changes were made
to them
This commit is contained in:
Gabriel Horner
2022-06-09 16:04:07 -04:00
committed by Tienson Qin
parent ee9f390761
commit d0755ef161
4 changed files with 13 additions and 11 deletions

View File

@@ -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'

View File

@@ -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 }}

View File

@@ -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"]}}}

View File

@@ -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"]}}}