Fix json-pretty tests, add bb lazytest to GHA #236
This file contains hidden or 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: CI | |
| on: [push] | |
| jobs: | |
| lint: | |
| if: "!contains(github.event.head_commit.message, 'skip ci')" | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macOS-latest] | |
| java: [11, 17, 21] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Prepare java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.java }} | |
| - name: Setup clojure-lsp | |
| uses: clojure-lsp/setup-clojure-lsp@v1 | |
| with: | |
| clojure-lsp-version: 2025.03.07-17.42.36 | |
| - name: Install clojure tools | |
| uses: DeLaGuardo/[email protected] | |
| with: | |
| cli: 1.12.0.1479 | |
| bb: 1.12.205 | |
| - name: Cache clojure dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| ~/.gitlibs | |
| ~/.deps.clj | |
| key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }} | |
| restore-keys: cljdeps- | |
| - name: clojure-lsp | |
| run: clojure-lsp diagnostics | |
| - name: splint self | |
| run: bb run splint | |
| - name: bb lazytest | |
| run: bb run lazytest --output summary | |
| - name: "1.10 Tests" | |
| run: clojure -M:v1.10:dev:test:runner --output summary | |
| - name: "1.11 Tests" | |
| run: clojure -M:v1.11:dev:test:runner --output summary | |
| - name: "1.12 Tests" | |
| run: clojure -M:v1.12:dev:test:runner --output summary |