process complete directory; Both SVG and PUML output are optional #15
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: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
XDG_CONFIG_HOME: $HOME/.config | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/setup-java@v2.5.0 | |
with: | |
distribution: "temurin" | |
java-version: "17" | |
- name: Install clojure tools | |
uses: DeLaGuardo/setup-clojure@9.5 | |
with: | |
cli: latest | |
# (optional) To avoid rate limit errors please provide github token | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check out practicalli clojure-deps-edn | |
uses: actions/checkout@master | |
with: | |
repository: practicalli/clojure-deps-edn | |
path: practicalli | |
- name: Use practicalli | |
run: mkdir -p $XDG_CONFIG_HOME/clojure && cp practicalli/deps.edn $XDG_CONFIG_HOME/clojure/deps.edn | |
- name: Execute tests on Linux and MacOS | |
run: clojure -T:build obarbeau.build/test |