Push: automaton-core
to branch: la
.
#39
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: Commit validation - Delaguardo flavor | |
on: | |
push: | |
branches: | |
- main | |
- la | |
jobs: | |
clojure: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] # , windows-latest There is a path issue | |
# macOS-latest is removed to save github costs | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Prepare java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '22' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.4.1474 # Clojure CLI based on tools.deps | |
bb: 1.3.191 # Babashka | |
clj-kondo: 2024.08.01 # Clj-kondo | |
cljfmt: 0.10.2 # cljfmt | |
zprint: 1.2.9 # zprint | |
- name: Cache clojure dependencies | |
uses: actions/cache@v4 | |
with: | |
path: /home/runner/.m2/repository | |
key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }} | |
restore-keys: cljdeps- | |
- name: Test | |
run: bb wf-4 -ibawl -d :common-test |