mirror of
https://github.com/DeLaGuardo/setup-clojure.git
synced 2025-01-14 10:27:55 +08:00
33 lines
936 B
Markdown
33 lines
936 B
Markdown
# setup-clojure
|
|
|
|
This action sets up Clojure tools environment for using in GitHub Actions.
|
|
|
|
* Clojure CLI
|
|
* Leiningen
|
|
* boot-clj
|
|
|
|
# Usage
|
|
|
|
Here is a snippet for your workflow file:
|
|
|
|
```yaml
|
|
steps:
|
|
- 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
|
|
```
|
|
|
|
For more application cases please check [Smoke Test Workflow file](https://github.com/DeLaGuardo/setup-clojure/blob/master/.github/workflows/smoke-tests.yml)
|
|
|
|
# License
|
|
|
|
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|