Skip to content

Update github CI to bb run splint #147

Update github CI to bb run splint

Update github CI to bb run splint #147

Workflow file for this run

name: CI
on: [push]
jobs:
lint:
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
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: 1.11.1.1273
bb: 1.3.178
clj-kondo: 2023.04.14
- name: Cache clojure dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }}
restore-keys: cljdeps-
- name: clj-kondo
run: clj-kondo --parallel --lint dev/ src/ test/
- name: splint self
run: bb run splint
- name: tests
run: clojure -M:dev:test:runner