Merge pull request #288 from Quantisan/update/lein #244
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, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install babashka | |
| uses: DeLaGuardo/setup-clojure@13.4 | |
| with: | |
| bb: 1.12.217 | |
| - uses: actions/checkout@v4 | |
| - name: Check for stale Dockerfiles | |
| run: | | |
| bb run dockerfiles | |
| git diff --exit-code | |
| - name: Run tests | |
| run: bb run test | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install cljfmt | |
| uses: DeLaGuardo/setup-clojure@13.4 | |
| with: | |
| cljfmt: latest | |
| - uses: actions/checkout@v4 | |
| - name: Check formatting | |
| run: cljfmt check src test bb.edn deps.edn tests.edn |