This action installs Risor inside a GitHub Action workflow.
See action.yml
steps:
- uses: applejag/setup-risor@v0
- shell: risor {0}
run: |
array := ["gophers", "are", "burrowing", "rodents"]
sentence := array | strings.join(" ") | strings.to_upper
print(sentence)
This action caches the Risor binary by default. It uses @actions/tool-cache, which stores cache differently than the actions/cache action.
Tool-cache is stored on a per-host basis, instead of on a per-repo basis. This means that you might get a lot of cache-misses, but that's because your jobs are being run on different action runner hosts. It also means that the cache won't be visible in the "Caches" view inside your repository's "Actions" tab.
It also means that if you're using self-hosted runners, then you need to make sure you configure them to make use of hosted tool cache
This repository is licensed under the MIT license.
It is heavily inspired by the helmfile/helmfile-action and azure/setup-helm actions.