Browse Source

Update dependencies in deps

Also fix conditional workflows that didn't trigger if changes were made
to them
Gabriel Horner 3 years ago
parent
commit
d0755ef161
4 changed files with 13 additions and 11 deletions
  1. 3 2
      .github/workflows/db.yml
  2. 8 7
      .github/workflows/graph-parser.yml
  3. 1 1
      deps.edn
  4. 1 1
      deps/graph-parser/deps.edn

+ 3 - 2
.github/workflows/db.yml

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

+ 8 - 7
.github/workflows/graph-parser.yml

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

+ 1 - 1
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"]}}}

+ 1 - 1
deps/graph-parser/deps.edn

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