Skip to content

fix ci

fix ci #6

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
rye-build:
runs-on: ubuntu-latest
steps:
# 1. Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
# 2. Install Rye using the pre-built action
- name: Install Rye
uses: sbarrios93/rye-rust-action@v1
id: rye-installer
# 3. Show the installed Rye version
- name: Show Rye version
run: |
echo "Installed Rye commit hash: ${{ steps.rye-installer.outputs.rye_commit_hash }}"
rye --version
# 4. Sync dependencies with Rye
- name: Sync dependencies
run: |
rye sync
# 5. Run tests (add this if you want to run tests after syncing)
- name: Run tests
run: |
rye run pytest