Replaced ubuntu-latest with ubuntu-24.04 and added pip cache
All checks were successful
Tests / test (3.10) (push) Successful in 41s
Tests / test (3.11) (push) Successful in 39s
Tests / test (3.9) (push) Successful in 38s

This commit is contained in:
Profitroll 2025-01-10 11:28:18 +02:00
parent 1c82c800e9
commit f5490bd96a

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"] python-version: ["3.9", "3.10", "3.11"]
@ -23,6 +22,7 @@ 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'
env: env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Install dependencies - name: Install dependencies