mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-02 21:00:55 +00:00
workflows: fix dependencies
This commit is contained in:
parent
3628422168
commit
e300fd924f
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
@ -7,6 +7,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- run: ./scripts/ci/install-deps.sh
|
||||||
- run: ./scripts/cargo.sh build
|
- run: ./scripts/cargo.sh build
|
||||||
test:
|
test:
|
||||||
name: cargo test
|
name: cargo test
|
||||||
@ -14,6 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- run: ./scripts/ci/install-deps.sh
|
||||||
- run: ./scripts/cargo.sh test
|
- run: ./scripts/cargo.sh test
|
||||||
clippy:
|
clippy:
|
||||||
name: cargo clippy
|
name: cargo clippy
|
||||||
@ -23,6 +25,7 @@ jobs:
|
|||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: clippy
|
components: clippy
|
||||||
|
- run: ./scripts/ci/install-deps.sh
|
||||||
- run: ./scripts/cargo.sh clippy
|
- run: ./scripts/cargo.sh clippy
|
||||||
fmt:
|
fmt:
|
||||||
name: cargo fmt
|
name: cargo fmt
|
||||||
@ -32,4 +35,5 @@ jobs:
|
|||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
- run: ./scripts/ci/install-deps.sh
|
||||||
- run: ./scripts/cargo.sh fmt --all -- --check
|
- run: ./scripts/cargo.sh fmt --all -- --check
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
sudo apt-get update
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user