2019-10-04 11:58:32 +02:00
# setup-clojure
2019-10-20 16:58:45 +02:00
This action sets up Clojure tools environment for using in GitHub Actions.
2019-10-04 11:58:32 +02:00
2019-10-20 16:58:45 +02:00
* Clojure CLI
* Leiningen
2019-10-08 12:46:58 +02:00
* boot-clj
2019-10-04 11:58:32 +02:00
# Usage
2019-10-20 16:58:45 +02:00
Here is a snippet for your workflow file:
2019-10-04 11:58:32 +02:00
```yaml
steps:
2020-02-05 19:09:21 +01:00
- uses: actions/checkout@latest
// The JDK version to make available on the path. Required to run any clojure command line tools.
// You can use any package that providing any JDK here, eg. `actions/setup-java@v1`
// or you can use mine package to provision graalvm on hosted environment.
- uses: DeLaGuardo/setup-graalvm@2 .0
with:
graalvm-version: '19.3.1.java11'
- uses: DeLaGuardo/setup-clojure@2 .0
with:
tools-deps: '1.10.1.469'
- run: clojure -Sdescribe
2019-10-04 11:58:32 +02:00
```
2019-10-20 16:58:45 +02:00
For more application cases please check [Smoke Test Workflow file ](https://github.com/DeLaGuardo/setup-clojure/blob/master/.github/workflows/smoke-tests.yml )
2019-10-08 12:46:58 +02:00
2019-10-04 11:58:32 +02:00
# License
The scripts and documentation in this project are released under the [MIT License ](LICENSE )