This GitHub Action allows you to install Rye on your GitHub Actions runner.
Rye is a project manager for Python applications that makes it easy to manage dependencies, build, and test projects. This GitHub Action provides an easy way to install Rye on a GitHub Actions runner, allowing you to take advantage of Rye's powerful features in your CI/CD pipelines.
- Installs Rye on the GitHub Actions runner
- Caches the Rye installation for faster builds
- Supports stable Rust toolchain
- Provides output for the installed Rye commit hash
No inputs are required for this action.
| Output Name | Description |
|---|---|
rye_commit_hash |
The commit hash of the installed Rye version. |
name: Python Rye Workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
rye-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rye
uses: sbarrios93/rye-rust-action@v1
id: rye-installer
- name: Show Rye version
run: |
echo "Installed Rye commit hash: ${{ steps.rye-installer.outputs.rye_commit_hash }}"
rye --version
- name: Sync dependencies
run: |
rye syncThis project is licensed under the MIT License.