Skip to content

Fix deploy

Fix deploy #52

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
provider: [cheshire/cheshire, org.clojure/data.json, com.cnuernber/charred, metosin/jsonista]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
java-version: '17'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
# Install just one or all simultaneously
# The value must indicate a particular version of the tool, or use 'latest'
# to always provision the latest version
bb: latest
# Optional step:
- name: Cache clojure dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
# List all files containing dependencies:
key: cljdeps-${{ hashFiles('deps.edn') }}
# key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }}
# key: cljdeps-${{ hashFiles('project.clj') }}
# key: cljdeps-${{ hashFiles('build.boot') }}
restore-keys: cljdeps-
- name: Test clj
run: bb -Dbabashka.json.provider=${{ matrix.provider }} test:clj
- name: Test bb
run: bb test:bb