Skip to content

Provide lein (#188) #370

Provide lein (#188)

Provide lein (#188) #370

Workflow file for this run

name: Clojure/Clojurescript Build
on:
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Checkout metafacture-core
uses: actions/checkout@v2
with:
path: metafacture-core
repository: metafacture/metafacture-core
ref: metafacture-core-6.2.0
- name: Install metafacture-core
working-directory: metafacture-core
run: ./gradlew install
- name: Checkout metafacture-fix
uses: actions/checkout@v2
with:
path: metafacture-fix
repository: metafacture/metafacture-fix
ref: 1.2.0
- name: Install metafacture-fix
working-directory: metafacture-fix
run: ./gradlew install
- name: Set up Node.js
uses: actions/setup-node@v2
- uses: actions/checkout@v2
# Setup Leiningen. Also supports setting up other commonly used tools.
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@12.1
with: lein: 2.9.1

Check failure on line 40 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 40
# Enable cache so our actions run faster.
- name: Cache clojure dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
key: cljdeps-${{ hashFiles('project.clj') }}
restore-keys: cljdeps-
- name: Install dependencies
run: lein deps
- name: Build cljs
run: lein release
- name: Build clj
run: lein uberjar