18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-28 12:36:20 +01:00
Files
maszyna/.github/dependabot.yml
jerrrrycho 92bd7066d4 ci: cache the apt packages of the Linux jobs, install only the X11 headers GLFW needs (#497)
* ci: cache the apt packages of the Linux jobs, install only the X11 headers GLFW needs

The "Install Linux dependencies" step timed out after 15 minutes in many runs: the
runners' Ubuntu mirror delivered about 150 kB/s, with 30 s stalls on single files,
and the step downloaded 136 packages (32.4 MB) every time.

- a local action, .github/actions/apt-install, keeps the downloaded .deb files in the
  Actions cache, keyed by the runner image and the package list. With the same image
  and list it installs the cached files without apt-get update and without the
  mirror; otherwise it runs apt-get update and downloads only what the cache lacks
- --no-install-recommends, and Acquire::Languages "none" for apt-get update
- xorg-dev (about 45 packages nothing used) is replaced by the X11 headers GLFW 3.4
  checks for: libx11-dev, libxcursor-dev, libxext-dev, libxi-dev, libxinerama-dev,
  libxrandr-dev; pkg-config is listed, as it is only a recommendation of libsndfile1-dev
- Build, Build binaries and Coverage use it; Coverage gets the 15-minute step timeout
  and the apt retries too
- Dependabot also updates the actions pinned in .github/actions

* ci: a repaired apt cache is saved under a key of its own run, and the newest one is restored
2026-11-25 05:41:39 +01:00

16 lines
505 B
YAML

# Keeps the GitHub Actions used by the workflows and by the local actions (.github/actions) up to date. The actions
# are pinned by commit hash, with the version in a comment; Dependabot updates both. One pull request a week for all
# of them, so the workflows stay on the same versions.
version: 2
updates:
- package-ecosystem: github-actions
directories:
- /
- /.github/actions/*
schedule:
interval: weekly
groups:
github-actions:
patterns:
- "*"