lein-convert #36
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: ci/cd | |
on: | |
push: | |
branches: [main, release/*] | |
pull_request: | |
branches: [main, release/*] | |
jobs: | |
build: | |
name: Build on OpenJDK ${{ matrix.jdk_version }} / ${{ matrix.os }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# JDK LTS: 8, 11, 17 | |
jdk_version: [8, 11, 17] | |
os: [ubuntu-latest] | |
container: | |
image: clojure:openjdk-${{ matrix.jdk_version }}-lein | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Info | |
run: lein version | |
- name: Package | |
run: | | |
lein deps | |
lein compile | |
lein uberjar | |
- name: Tests | |
run: lein test |