Skip to content

Commit

Permalink
chore: update ci_checks script to represent current ci better (#5934)
Browse files Browse the repository at this point in the history
## Description
Updates `ci_checks.sh` file that aims to locally loosely "simulate" CI,
to better represent the current state of the CI by:

1. Adds `sdk-harness` version check step to the script
2. Updates instructions on how to install & run fuel-core for test
suite.
  • Loading branch information
kayagokalp authored Apr 29, 2024
1 parent 80c39d9 commit 08428b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@
# - `cargo run --locked --release --bin test -- --locked`
#
# You can install `fuel-core` node by:
# `cargo install fuel-core-bin --git https://github.com/FuelLabs/fuel-core --tag v0.19.1 --locked`
# `cargo install fuel-core-bin --git https://github.com/FuelLabs/fuel-core --tag v0.24.3 --locked`
#
# And run it with:
# `fuel-core run --db-type in-memory`
# `fuel-core run --db-type in-memory --debug --snapshot ./.github/workflows/local-testnode`

# Requires installed:
# `cargo install cargo-sort`
# `cargo install cargo-generate`
# `cargo install cargo-udeps`

./.github/workflows/scripts/check-sdk-harness-version.sh
cargo clippy --all-features --all-targets -- -D warnings &&
cargo sort -w --check &&
cargo sort -w --check templates/sway-test-rs/template &&
Expand Down

0 comments on commit 08428b2

Please sign in to comment.