This plugin sets up your CI/CD pipeline with a specific version of rye.
Add the following command to your CI configuration file:
fluentci run --wasm rye setup| Name | Description |
|---|---|
| setup | Installs a specific version of rye. |
| fmt | Run the code formatter on the project |
| build | Builds a package for distribution |
| fetch | Fetches a Python interpreter for the local machine |
| init | Initialize a new or existing Python project with Rye |
| install | Installs a package as global tool |
| lint | Run the linter on the project |
| publish | Publish packages to a package repository |
| run | Runs a command installed into this package |
| toolchain | Helper utility to manage Python toolchains |
| tools | Helper utility to manage global tools |
Add fluentci-pdk crate to your Cargo.toml:
[dependencies] fluentci-pdk = "0.1.9"Use the following code to call the plugin:
use fluentci_pdk::dag; // ... dag().call("https://pkg.fluentci.io/rye@v0.1.1?wasm=1", "setup", vec![])?;Github Actions:
- name: Setup Fluent CI CLI uses: fluentci-io/setup-fluentci@v5 with: wasm: true plugin: rye args: | setup - name: Show rye version run: | type rye rye --version