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:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -33,6 +33,9 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install YARA
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y libyara-dev
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
@@ -60,6 +63,9 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install YARA
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y libyara-dev
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
@@ -119,6 +125,9 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install YARA
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y libyara-dev
|
||||||
|
|
||||||
- name: Run cargo-deny
|
- name: Run cargo-deny
|
||||||
uses: EmbarkStudios/cargo-deny-action@v1
|
uses: EmbarkStudios/cargo-deny-action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1,6 +1,6 @@
|
|||||||
# This file is automatically @generated by Cargo.
|
# This file is automatically @generated by Cargo.
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
version = 4
|
version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "aho-corasick"
|
name = "aho-corasick"
|
||||||
|
|||||||
Reference in New Issue
Block a user