Merge pull request #142 from metosin/gha-releases #4
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: Run tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-clj: | |
strategy: | |
matrix: | |
jdk: [8, 11, 17, 21] | |
name: Clojure (Java ${{ matrix.jdk }}) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java ${{ matrix.jdk }} | |
uses: actions/[email protected] | |
with: | |
distribution: zulu | |
java-version: ${{ matrix.jdk }} | |
- name: Setup Clojure | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
lein: 2.9.4 | |
- name: Run tests | |
run: lein test |