Bump DeLaGuardo/setup-clojure from 13.0 to 13.1 #168
Workflow file for this run
This file contains 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: test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Prepare Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Install Clojure CLI Tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: latest | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
id: cache | |
with: | |
path: | | |
~/.m2/repository | |
~/.gitlibs | |
~/.clojure | |
~/.cpcache | |
key: clojure-m2-${{ hashFiles('deps.edn') }} | |
- name: Prep library | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: clojure -P -X:check:test | |
- name: Install Mise | |
uses: jdx/mise-action@v2 | |
with: | |
experimental: true | |
- name: Run Unit Tests | |
run: mise run test:run |