setup-clojure/action.yml
Kirill Chernyshov d2ddd6fe91
Use 'Bearer gh-token' instead of 'token gh-token'
to authenticate GH API calls

* Upgrade node-version to 20.10.0
* Upgrade dependencies
* Upgrade base node version to run action on
* Correct authentication token format
2024-01-05 12:38:24 +01:00

49 lines
1.7 KiB
YAML

name: 'Setup Clojure'
description: 'Setup your runner with Clojure build tools'
author: 'DeLaGuardo'
branding:
icon: 'gift'
color: 'blue'
inputs:
lein:
description: 'The Leiningen version to make available on the path.'
boot:
description: 'The boot-clj version to make available on the path.'
tools-deps:
description: '[DEPRECATED] The tools deps version to make available on the path.'
deprecationMessage: 'Use the `cli` input instead'
cli:
description: 'Clojure CLI version to make available on the path.'
cmd-exe-workaround:
description: >+
[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`.
deprecationMessage: 'No longer needed. Please remove and use unified `cli` input instead'
bb:
description: 'Babashka version to install, `latest` can be used.'
clj-kondo:
description: 'Clj-kondo version to install, `latest` can be used.'
cljfmt:
description: 'cljfmt version to install, `latest` can be used.'
cljstyle:
description: 'cljstyle version to install, `latest` can be used.'
zprint:
description: 'zprint version to install, `latest` can be used.'
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
default: ${{ github.token }}
required: false
invalidate-cache:
description: >+
Set to `true` to fix problems related to wrongly populated tool cache
default: 'false'
required: false
runs:
using: 'node20'
main: 'dist/index.js'