Skip to content

update tests badge

update tests badge #5

Workflow file for this run

name: Lein Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
lein: '2.9.1' # Specify the Leiningen version you need
- name: Cache Maven dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
key: cljdeps-${{ hashFiles('project.clj') }}
restore-keys: |
${{ runner.os }}-m2-
- name: Run tests
run: lein test