From 5dddc7cf85742e04995c4513d45879063a3dc560 Mon Sep 17 00:00:00 2001 From: dbrennand <52419383+dbrennand@users.noreply.github.com> Date: Sat, 18 May 2024 23:19:21 +0100 Subject: [PATCH] refactor: update CI --- .github/workflows/ci.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52fe3c1..10b6598 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,23 +4,17 @@ on: - push jobs: - Test: + ci: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python id: setup-python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.7 - - - name: Load cached Poetry installation - uses: actions/cache@v2 - with: - path: ~/.local - key: poetry-0 + python-version: 3.12 - name: Install Poetry uses: snok/install-poetry@v1 @@ -31,7 +25,7 @@ jobs: - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}