Try moving dependency installation into its own action
Some checks failed
CI / Formatting (push) Successful in 32s
CI / Clippy (push) Failing after 32s

This commit is contained in:
Michael Bradley 2025-03-22 11:38:47 -04:00
parent 8a78c8a6b8
commit 8f7d09318a
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8
2 changed files with 12 additions and 3 deletions

View file

@ -0,0 +1,11 @@
---
name: Install System Libraries
description: Installs the system libraries necessary to build the project
runs:
using: composite
steps:
- name: Install system libraries
shell: bash
run: |
sudo apt-get update
sudo apt-get -y install libasound2-dev libudev-dev libwayland-dev

View file

@ -28,8 +28,6 @@ jobs:
with:
components: clippy
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install libasound2-dev libudev-dev libwayland-dev
run: ./.forgejo/actions/install-system-libraries
- name: Run Clippy
run: cargo clippy -- -D warnings