Skip to content

Commit

Permalink
CI: Add autoremove before building on Debian
Browse files Browse the repository at this point in the history
This prevents spurious broken builds when the container base image
contains packages that are not needed anymore after the update, as
happened recently with the `usr-is-merged` package on Trixie.
  • Loading branch information
dallmair committed Jan 5, 2025
1 parent a27a2f9 commit 809e3a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
run: |
apt-get update
apt-get dist-upgrade -y
apt-get autoremove -y --purge
apt-get install -y --no-install-recommends ca-certificates git sudo
- name: Configure git in container
Expand Down

0 comments on commit 809e3a8

Please sign in to comment.