Release v0.2.1 #1
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-cd | ||
| on: | ||
| push: | ||
| paths-ignore: | ||
| - "README.md" | ||
| - "CONTRIBUTING.md" | ||
| - "CHANGELOG.md" | ||
| - "LICENSE" | ||
| - ".gitignore" | ||
| jobs: | ||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-24.04 | ||
| env: | ||
| LEIN_ROOT: "true" | ||
| CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | ||
| CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Install Java | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: 'temurin' | ||
| java-version: '21' | ||
| - name: Install Clojure Tools | ||
| uses: DeLaGuardo/setup-clojure@13.4 | ||
| with: | ||
| lein: 2.12.0 | ||
| clj-kondo: 2026.01.19 | ||
| - name: Check formatting | ||
| run: lein cljfmt check | ||
| - name: Lint | ||
| run: clj-kondo --lint "$(lein classpath)" --dependencies --parallel --copy-configs && clj-kondo --lint src --lint test && lein eastwood | ||
| - name: Test | ||
| run: lein test :all | ||
| - name: Deploy Jar to Clojars | ||
| if: contains(github.ref, 'refs/tags/') | ||
| run: lein deploy | ||