From 0d41543a630e307c114994145fa48ee2e45bf5de Mon Sep 17 00:00:00 2001 From: Julen Dixneuf Date: Mon, 16 Oct 2023 00:39:09 +0200 Subject: [PATCH] ci: do not update lock while installing --- .github/workflows/test.yaml | 4 +++- Makefile | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 885fe3a..1734075 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,9 +12,11 @@ jobs: - name: Install the latest version of rye uses: eifinger/setup-rye@v1 + with: + enable-cache: true - name: Install development dependencies - run: make install-dev + run: make install-ci - name: Check for correct formatting, static typing, linting, etc... run: | diff --git a/Makefile b/Makefile index a1dc736..389db19 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,9 @@ install: install-dev: rye sync +install-ci: + rye sync --no-lock + dev: rye run uvicorn ${PACKAGE_NAME}.main:app --reload