setup-clojure/action.yml

49 lines
1.7 KiB
YAML
Raw Normal View History

2019-10-04 11:41:15 +02:00
name: 'Setup Clojure'
description: 'Setup your runner with Clojure build tools'
author: 'DeLaGuardo'
branding:
icon: 'gift'
color: 'blue'
inputs:
lein:
2019-10-04 11:41:15 +02:00
description: 'The Leiningen version to make available on the path.'
boot:
description: 'The boot-clj version to make available on the path.'
tools-deps:
2020-09-24 10:28:33 +02:00
description: '[DEPRECATED] The tools deps version to make available on the path.'
2022-04-10 18:07:42 +02:00
deprecationMessage: 'Use the `cli` input instead'
2020-09-24 10:28:33 +02:00
cli:
2022-02-19 14:51:42 +03:00
description: 'Clojure CLI version to make available on the path.'
cmd-exe-workaround:
description: >+
2022-07-22 10:58:00 +02:00
[DEPRECATED]
On Windows platform, it will replace official Clojure CLI
with the `deps.clj` of its specific version, `latest` can be used.
Useful for running `clojure` command from `cmd.exe`.
2022-07-22 10:58:00 +02:00
deprecationMessage: 'No longer needed. Please remove and use unified `cli` input instead'
2022-03-22 15:41:09 +03:00
bb:
2022-06-02 09:36:11 +03:00
description: 'Babashka version to install, `latest` can be used.'
clj-kondo:
description: 'Clj-kondo version to install, `latest` can be used.'
2023-05-25 21:01:29 +01:00
cljfmt:
description: 'cljfmt version to install, `latest` can be used.'
2022-06-16 16:57:17 +05:00
cljstyle:
description: 'cljstyle version to install, `latest` can be used.'
2022-06-27 19:23:56 +03:00
zprint:
description: 'zprint version to install, `latest` can be used.'
2022-02-19 14:51:42 +03:00
github-token:
description: >+
To fix rate limit errors, provide `secrets.GITHUB_TOKEN` value to this field.
More info: https://docs.github.com/en/actions/security-guides/automatic-token-authentication
2022-04-10 18:07:42 +02:00
default: ${{ github.token }}
required: false
2022-07-19 12:37:55 +02:00
invalidate-cache:
description: >+
2023-04-12 21:59:51 +02:00
Set to `true` to fix problems related to wrongly populated tool cache
2022-07-19 12:37:55 +02:00
default: false
required: false
2019-10-04 11:41:15 +02:00
runs:
2022-07-19 12:37:55 +02:00
using: 'node16'
main: 'dist/index.js'