Skip to content

ci: switch direct apt usage to install-apt-deps action#10475

Open
julek-wolfssl wants to merge 1 commit into
wolfSSL:masterfrom
julek-wolfssl:ci-apt-cache
Open

ci: switch direct apt usage to install-apt-deps action#10475
julek-wolfssl wants to merge 1 commit into
wolfSSL:masterfrom
julek-wolfssl:ci-apt-cache

Conversation

@julek-wolfssl
Copy link
Copy Markdown
Member

multi-arch.yml and linuxkm.yml were installing apt packages with inline
shell commands. Replace them with the install-apt-deps composite action
for consistent retry behavior and caching.

multi-arch.yml and linuxkm.yml were installing apt packages with inline
shell commands. Replace them with the install-apt-deps composite action
for consistent retry behavior and caching.
Copilot AI review requested due to automatic review settings May 13, 2026 11:34
@julek-wolfssl julek-wolfssl self-assigned this May 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR updates CI workflows to install apt dependencies via a shared install-apt-deps composite action instead of inline apt shell commands, aiming for consistent retry behavior and caching.

Changes:

  • Refactors multi-arch.yml to use ./.github/actions/install-apt-deps for cross toolchain + QEMU installation.
  • Refactors linuxkm.yml to use ./.github/actions/install-apt-deps for linux-headers installation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/multi-arch.yml Replaces inline apt install with the install-apt-deps composite action for crossbuild + qemu dependencies.
.github/workflows/linuxkm.yml Replaces custom retry loop for linux-headers install with the install-apt-deps composite action.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +31 to +34
- name: Install linux-headers
uses: ./.github/actions/install-apt-deps
with:
packages: linux-headers-$(uname -r)
@github-actions
Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants