From 2c750cad513d397ce1bce9bd18e0966306b95818 Mon Sep 17 00:00:00 2001 From: FranciumSoftware <156525035+FranciumSoftware@users.noreply.github.com> Date: Mon, 24 Aug 2026 18:27:05 +0200 Subject: [PATCH] [FIX] Code checking --- .github/workflows/code_check.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_check.yml b/.github/workflows/code_check.yml index 833b05b..659a284 100644 --- a/.github/workflows/code_check.yml +++ b/.github/workflows/code_check.yml @@ -9,6 +9,17 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.head.ref }} + ref: ${{ github.head_ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - - run: cargo check + fetch-depth: 0 # This ensures all history is fetched + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y libasound2-dev + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + + - name: Check code + run: cargo check