diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 200ae7b..4a1aafc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,25 +16,17 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install Poetry run: | curl -sSL https://install.python-poetry.org | python3 - echo "$HOME/.local/bin" >> $GITHUB_PATH - - name: Cache Poetry virtualenvs and artifacts - uses: actions/cache@v4 + - name: Use Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 with: - path: | - ~/.cache/pypoetry/virtualenvs - ~/.cache/pypoetry/artifacts - key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}-${{ matrix.python-version }} - restore-keys: | - ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}- + python-version: ${{ matrix.python-version }} + cache: poetry + cache-dependency-path: poetry.lock - name: Install dependencies with Poetry run: poetry install diff --git a/README.md b/README.md index 8a51a1e..86722cb 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ On the LLM side, Selfie uses tools like LiteLLM and txtai to support forwarding ## Getting Started -To launch Selfie, ensure that [python](https://www.python.org), [poetry](https://python-poetry.org), and [yarn](https://yarnpkg.com) are installed. Then run the following commands in the project directory: +To launch Selfie, ensure that [python](https://www.python.org) 3.11, [poetry](https://python-poetry.org), and [yarn](https://yarnpkg.com) are installed. Then run the following commands in the project directory: 1. `git clone git@github.com:vana-com/selfie.git` 2. `cp selfie/.env.example selfie/.env`