Fix nested :inner specs #246
Workflow file for this run
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: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
- name: Install clojure tools | |
uses: DeLaGuardo/setup-clojure@11.0 | |
with: | |
cli: latest | |
lein: 2.9.10 | |
bb: latest | |
clj-kondo: 2023.05.18 | |
cljfmt: 0.10.4 | |
- name: Execute tests | |
working-directory: ./cljfmt | |
run: lein test | |
- name: Execute babashka tests | |
run: bb test | |
- name: Check formatting | |
run: bb fmt | |
- name: Lint sourcecode | |
run: bb lint | |
- name: Install cljfmt dependency | |
working-directory: ./cljfmt | |
run: lein install | |
- name: Install GraalVM | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
version: '22.3.2' | |
java-version: '17' | |
components: 'native-image' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install native dev tools | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install build-essential zlib1g-dev | |
- name: Build executable | |
working-directory: ./cljfmt | |
run: lein native-image | |
- name: Run smoke tests | |
run: bb smoke | |