Skip to content

Updated Clojure to 1.12.0 #87

Updated Clojure to 1.12.0

Updated Clojure to 1.12.0 #87

Workflow file for this run

name: Tests
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
tests:
strategy:
matrix:
operating-system: [ubuntu-latest]
distribution: ['zulu', 'temurin']
java: ['8', '11', '16', '17']
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare java
uses: actions/[email protected]
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Install clojure tools-deps
uses: DeLaGuardo/[email protected]
with:
tools-deps: 1.12.0.1479
- name: Cache Maven packages
uses: actions/[email protected]
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
# List all files containing dependencies:
key: cljdeps-${{ hashFiles('deps.edn') }}
restore-keys: cljdeps-
- name: Execute clojure code
run: clojure -M:test:runner