From 806bde8af5f1a0594290b43b84419a56864e38d0 Mon Sep 17 00:00:00 2001 From: Profitroll Date: Fri, 10 Jan 2025 11:25:31 +0200 Subject: [PATCH] Replaced ubuntu-latest with ubuntu-24.04 and added pip cache --- .gitea/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 83ac1b4..8696afe 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -11,8 +11,7 @@ on: jobs: test: - runs-on: ubuntu-latest - container: catthehacker/ubuntu:act-latest + runs-on: ubuntu-24.04 strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12"] @@ -23,6 +22,8 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: './requirements/*' env: AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache - name: Install dependencies