diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7af00a6e..412c3721 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.9" - cache: pip - cache-dependency-path: requirements.txt + python-version: "3.10" - name: Run pre-commit uses: pre-commit/action@v3.0.0 @@ -48,12 +46,15 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.9" - cache: pip - cache-dependency-path: requirements.txt + python-version: "3.10" - - name: Install requirements - run: pip install -r requirements.txt + - name: Install Poetry + uses: abatilo/actions-poetry@v2.3.0 + with: + poetry-version: 1.6.1 + + - name: Install dependencies + run: poetry install - name: Run test run: script/test diff --git a/README.md b/README.md index 01c3092e..568d1f4f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Exposing an API to archived case law. ## Requirements. -Python >= 3.8 +Python >= 3.10 ## Installation & Usage