workflows: fix dependencies

This commit is contained in:
Alex Zenla 2024-03-06 12:13:01 +00:00
parent 3628422168
commit e300fd924f
No known key found for this signature in database
GPG Key ID: 067B238899B51269
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: ./scripts/ci/install-deps.sh
- run: ./scripts/cargo.sh build
test:
name: cargo test
@ -14,6 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: ./scripts/ci/install-deps.sh
- run: ./scripts/cargo.sh test
clippy:
name: cargo clippy
@ -23,6 +25,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: ./scripts/ci/install-deps.sh
- run: ./scripts/cargo.sh clippy
fmt:
name: cargo fmt
@ -32,4 +35,5 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: ./scripts/ci/install-deps.sh
- run: ./scripts/cargo.sh fmt --all -- --check

View File

@ -2,4 +2,4 @@
set -e
sudo apt-get update
sudo apt-get install -y build-essential libssl-dev libelf-dev flex bison bc
sudo apt-get install -y build-essential libssl-dev libelf-dev flex bison bc protobuf-compiler