Skip to content

Update GitHub Actions and switch to Leiningen build system #344

Update GitHub Actions and switch to Leiningen build system

Update GitHub Actions and switch to Leiningen build system #344

Workflow file for this run

name: Clojure CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
deps-edn:
name: deps.edn
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prepare Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
- name: Install Clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: 'latest'
bb: 'latest'
cljfmt: 'latest'
clj-kondo: 'latest'
- name: Codestyle
run: bb lint
- name: Unit tests
run: bb test
lein:
name: Leiningen
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prepare Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
- name: Install Clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: 'latest'
lein: 'latest'
- name: Unit tests
run: lein test