Fix CI pipeline compatibility issues

- Downgrade Cargo.lock to version 3 for older CI Cargo compatibility
- Add YARA library installation to all Linux CI jobs
- Install libyara-dev before build, test, and clippy steps
This commit is contained in:
pandaadir05
2025-11-21 01:24:17 +02:00
parent 30c144bbb2
commit d5e39529fa
2 changed files with 10 additions and 1 deletions

View File

@@ -33,6 +33,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install YARA
run: sudo apt-get update && sudo apt-get install -y libyara-dev
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
@@ -60,6 +63,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install YARA
run: sudo apt-get update && sudo apt-get install -y libyara-dev
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
@@ -119,6 +125,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install YARA
run: sudo apt-get update && sudo apt-get install -y libyara-dev
- name: Run cargo-deny
uses: EmbarkStudios/cargo-deny-action@v1
with:

2
Cargo.lock generated
View File

@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
version = 3
[[package]]
name = "aho-corasick"