Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
award

GitHub Action

tools.deps-builder

0.1 Pre-release

tools.deps-builder

award

tools.deps-builder

Invoke the Clojure tools.deps CLI. Mainly here to support CI tests

Installation

Copy and paste the following snippet into your .yml file.

              

- name: tools.deps-builder

uses: vouch-opensource/[email protected]

Learn more about this action in vouch-opensource/tools.deps-build

Choose a version

tools.deps-build

A Github action to enable Clojure projects to invoke the tools.deps CLI

The primary goal is to support CI tests.

The action is based on a Docker container that has Clojure installed over adoptopenjdk/openjdk8:alpine-slim

Note: Since the action is not interactive, it invokes the CLI via clojure rather than clj. This distinction should usually be unimportant and is mentioned here for completeness.

Inputs

alias

Optional: The alias or concatenated aliases (eg :ci, :mem:test, ...)

Default: :test

java-opts

Optional: Any java opts (eg -Xmx512m)

Example usage - default, to run :test alias

uses: actions/tools.deps-builder@v1

Example usage - invoke :xyz alias

uses: actions/tools.deps-builder@v1
with:
  alias: :xyz

Example usage - pass Java opts

uses: actions/tools.deps-builder@v1
with:
  java-opts: -Xmx512m -Xms128m

Example usage - pass Java opts and use :abc alias

uses: actions/tools.deps-builder@v1
with:
  alias: :abc
  java-opts: -Xmx512m -Xms128m

License

The scripts and documentation in this project are released under the MIT License