Move dependency installation into its own action #2

Merged
MichaelBradley merged 3 commits from actions into main 2025-03-22 14:19:38 -04:00
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: with:
components: clippy components: clippy
- name: Install dependencies - name: Install dependencies
run: | uses: ./.forgejo/actions/install-system-libraries
sudo apt-get update
sudo apt-get -y install libasound2-dev libudev-dev libwayland-dev
- name: Run Clippy - name: Run Clippy
run: cargo clippy -- -D warnings run: cargo clippy -- -D warnings