cache-apt-pkgs-action/.github/workflows
awalsh128 06ebcd9b21 Fail the action on package resolution and install errors
lib.sh disables errexit, so failures from package resolution, apt-fast
install, and repository setup were ignored and an incomplete install could
be cached. Check each of these explicitly and abort with a distinct exit
code, and verify every requested package is installed before caching.

- Report virtual packages with no providers (e.g. python on 22.04) with a
  clear error instead of a mangled "Reverse=Provides:" package (#166).
- Stop reporting each apt_query error twice.
- Guard logging.Debug against an uninitialized logger.
- Add an abort helper to lib.sh and use it for all abort sites.
- Add distribute.sh build-committed-binaries / check-committed-binaries and
  apt_query.srchash so PR CI fails when the committed binaries are stale
  (#166, #218). Release and committed builds share build_apt_query.
- Rebuild the committed apt_query binaries.
- Make the expected-failure tests actually fail when the action succeeds,
  and add regression tests for #166 and #221.

Fixes #166
Fixes #221

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:50:38 -08:00
..
action-tests.yml Fail the action on package resolution and install errors 2026-11-04 15:50:38 -08:00
build-distribute.yml Fix create-release CI failure: consolidate release artifacts and restrict to workflow_dispatch only 2026-06-29 23:00:54 -07:00
pub_dev_push_event.yml Copy from staging to dev. 2022-07-19 20:42:48 -07:00
pub_master_push_event.yml Copy from staging to dev. 2022-07-19 20:42:48 -07:00
pub_staging_push_event.yml Publish push event for master too. 2021-10-17 13:06:35 -07:00
pull_request.yml Fail the action on package resolution and install errors 2026-11-04 15:50:38 -08:00