Release 3.13.0 #115
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: Clojure CI | |
on: | |
push: | |
branches: [ 3.x ] | |
pull_request: | |
branches: [ 3.x ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ["8", "11", "14"] | |
clojure: ["1.6", "1.7", "1.8", "1.9", "1.10"] | |
name: Java ${{ matrix.java }} Clojure ${{ matrix.clojure }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-lein-${{ hashFiles('**/project.clj') }} | |
restore-keys: | | |
${{ runner.os }}-lein- | |
- name: Setup java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Install dependencies | |
run: lein deps | |
- name: Run tests | |
run: lein with-profile dev,${{matrix.clojure}} test :all | |
- name: Check Reflection Warnings | |
run: '! lein with-profile dev,${{matrix.clojure}} check 2>&1 | egrep "Reflection warning|Performance warning"' |