Skip to content

No build.yml required #13

No build.yml required

No build.yml required #13

Workflow file for this run

name: Clojure CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '22'
- name: Install Clojure Tools
uses: DeLaGuardo/[email protected]
with:
lein: 2.11.2
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.deps.clj
key: deps-${{hashFiles('project.clj')}}
restore-keys: deps-
- name: Install dependencies
run: lein deps
- name: Run Tests
run: lein test
- name: Prepare Uberjar
run: lein uberjar