setup-rye
Set up your GitHub Actions workflow with a specific version of rye.
Limitations
Usage
- name: Checkout your repository
uses: actions/checkout@v3
- name: Install the latest version of rye
uses: eifinger/setup-rye@v1
- name: Sync your dependencies
run: rye sync
You can also specify a specific version of rye
- name: Install a specific version
uses: eifinger/setup-rye@v1
with:
version: '0.10.0'
How it works
This action downloads rye from the releases of the rye repo and uses the GitHub Actions Toolkit to cache it as a tool to speed up consecutive runs especially on self-hosted runners.
The installed version of rye is then added to the runner path so other steps can just use it by calling rye
.