diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index daeeeeb..41aa76c 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -22,8 +22,10 @@ jobs: python-version: ${{ matrix.python-version }} cache: 'pip' # caching pip dependencies - name: Install APT packages - run: sudo apt-get update && sudo apt install xvfb pkg-config python3-dev libgirepository1.0-dev libcairo2-dev gir1.2-webkit2-4.0 libcanberra-gtk3-module - + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: xvfb pkg-config python3-dev libgirepository1.0-dev libcairo2-dev gir1.2-webkit2-4.0 libcanberra-gtk3-module + version: 1.0 - name: Install hatch run: | python -m pip install hatch toga