Replaced ubuntu-latest with ubuntu-24.04 and added pip cache
All checks were successful
Tests / test (3.11) (push) Successful in 1m4s
Tests / test (3.10) (push) Successful in 1m6s
Tests / test (3.12) (push) Successful in 1m10s
Tests / test (3.9) (push) Successful in 55s

This commit is contained in:
Profitroll 2025-01-10 11:25:31 +02:00
parent 43b83d3da2
commit 806bde8af5

View File

@ -11,8 +11,7 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-24.04
container: catthehacker/ubuntu:act-latest
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"] python-version: ["3.9", "3.10", "3.11", "3.12"]
@ -23,6 +22,8 @@ jobs:
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: './requirements/*'
env: env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Install dependencies - name: Install dependencies