2019-10-04 11:58:32 +02:00
|
|
|
# setup-clojure
|
|
|
|
|
|
|
|
This action sets up clojure tools environment for using in GitHub Actions.
|
|
|
|
|
|
|
|
* clojure cli
|
2019-10-08 12:46:58 +02:00
|
|
|
* leiningen
|
|
|
|
* boot-clj
|
2019-10-04 11:58:32 +02:00
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@latest
|
2019-10-20 16:52:39 +02:00
|
|
|
- uses: actions/setup-java@v1
|
2019-10-04 11:58:32 +02:00
|
|
|
with:
|
|
|
|
java-version: '9.0.4' // The JDK version to make available on the path. Required to run any clojure command line tools.
|
2019-10-20 16:52:58 +02:00
|
|
|
- uses: DeLaGuardo/setup-clojure@2.0
|
2019-10-04 11:58:32 +02:00
|
|
|
with:
|
|
|
|
tools-deps: '1.10.1.469'
|
|
|
|
- run: clojure -Sdescribe
|
|
|
|
```
|
|
|
|
|
2019-10-08 12:46:58 +02:00
|
|
|
For more usecases please check [Smoke Test Workflow file](https://github.com/DeLaGuardo/setup-clojure/blob/master/.github/workflows/smoke-tests.yml)
|
|
|
|
|
2019-10-04 11:58:32 +02:00
|
|
|
# License
|
|
|
|
|
|
|
|
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|