mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 09:01:31 +00:00
62c1378b79
Ubuntu 22.04 was accepted by detect_os but the runtime apt list has never resolved on jammy, which ships dhcpcd5 rather than dhcpcd-base. No CI cell or E2E matrix installs on it, and the install docs already claim Ubuntu 26.04 and Debian 13 only, so drop the claim instead of carrying a jammy-conditional package branch for an untested suite.
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
name: Apt Packages
|
|
|
|
# Path-filtered like image-scripts.yml: this resolves setup.sh's runtime package
|
|
# list against each supported suite's real indices, so a renamed, dropped, or
|
|
# ambiguously virtual package fails here rather than on a user's machine.
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
paths:
|
|
- scripts/setup.sh
|
|
- scripts/lint-apt-packages.sh
|
|
- .github/workflows/apt-packages.yml
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- dev
|
|
paths:
|
|
- scripts/setup.sh
|
|
- scripts/lint-apt-packages.sh
|
|
- .github/workflows/apt-packages.yml
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
apt_packages:
|
|
name: Resolve apt list (${{ matrix.image }})
|
|
runs-on: ubuntu-26.04
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
# The suites the nightly E2E matrix actually installs on. This matches
|
|
# what detect_os accepts: Debian 13+ and Ubuntu 24.04+.
|
|
image:
|
|
- ubuntu:24.04
|
|
- ubuntu:26.04
|
|
- debian:13
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Resolve runtime package list
|
|
run: ./scripts/lint-apt-packages.sh ${{ matrix.image }}
|