From 6d56555b0c23e5483b944dfeacb6c7b2eaea7bfa Mon Sep 17 00:00:00 2001 From: Shroominic Date: Wed, 22 Nov 2023 19:02:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Switch=20to=20Rye,=20update=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/code-check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml index ee92fca..0818e67 100644 --- a/.github/workflows/code-check.yml +++ b/.github/workflows/code-check.yml @@ -14,10 +14,10 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install poetry and dependencies - run: curl -sSL https://install.python-poetry.org | python3 - && poetry install + run: curl -sSf https://rye-up.com/get | bash && rye sync - name: Run pre-commit - run: poetry run pre-commit run --all-files + run: rye run pre-commit run --all-files - name: Run tests env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - run: poetry run pytest + run: rye run pytest