Bump DeLaGuardo/setup-clojure from 13.0 to 13.1 (#3) #163
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: check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check: | |
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 Reflection Checker | |
run: mise run check |