Add clj tests #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
clojure: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Setup Clojure | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.3.1463 | |
# - name: Enable Corepack | |
# run: corepack enable | |
# - name: Setup Node | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: '22' | |
# cache: 'yarn' | |
# - name: Install yarn deps | |
# run: yarn install --frozen-lockfile | |
# - name: Cache clojure dependencies | |
# uses: actions/cache@v3 | |
# with: | |
# path: | | |
# ~/.m2/repository | |
# ~/.gitlibs | |
# ~/.deps.clj | |
# key: cljdeps-${{ hashFiles('deps.edn') }} | |
# # key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }} | |
# restore-keys: cljdeps- | |
- name: Test Clojure | |
run: clojure -M:test |