Update dependencies, add missing dependency, add PR tests #1
Workflow file for this run
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: lein_test | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - main | |
| # minimal permissions | |
| permissions: | |
| contents: read | |
| jobs: | |
| run-lein-tests: | |
| name: lein test - Java ${{ matrix.java }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java: | |
| - '21' | |
| - '17' | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v6 | |
| - name: Setup java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| - name: Install Clojure tools | |
| uses: DeLaGuardo/[email protected] | |
| with: | |
| cli: latest # Clojure CLI based on tools.deps | |
| lein: latest # Leiningen | |
| boot: latest # Boot.clj | |
| bb: latest # Babashka | |
| clj-kondo: latest # Clj-kondo | |
| cljstyle: latest # cljstyle | |
| zprint: latest # zprint | |
| - name: Run lein tests with update profile | |
| run: | | |
| set -x | |
| set -e | |
| lein version | |
| echo "Running tests" | |
| lein -U test | |
| tests: | |
| needs: | |
| - run-lein-tests | |
| runs-on: ubuntu-24.04 | |
| name: Test suite | |
| steps: | |
| - run: echo Test suite completed |