fix(ci): version check cmd

This commit is contained in:
Andelf
2021-12-27 14:03:45 +08:00
committed by Tienson Qin
parent 9acafb2745
commit 27af2a8234

View File

@@ -49,11 +49,6 @@ jobs:
with:
node-version: 16
- name: Check Dockerfile consistency
run: |
DOCKER_VERSION=$(grep -Po 'FROM clojure:.*-deps-?\K(.*)' Dockerfile)
[[ $CLOJURE_VERSION == $DOCKER_VERSION ]] || { echo "Please make sure Docker container version matches CLOJURE_VERSION" && exit 1; }
- name: Install Clojure tools.deps
uses: DeLaGuardo/setup-clojure@master
with: