Skip to content

Initial Release of setup-rye

Compare
Choose a tag to compare
@eifinger eifinger released this 13 Jul 12:14
· 156 commits to main since this release
9bfa2d8

setup-rye

Set up your GitHub Actions workflow with a specific version of rye.

Limitations

  1. Currently only linux is supported see issue #10
  2. Currently only x64 is supported see issue #11

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.


Buy Me A Coffee