Enter the Dev Container to build and test the IC using:
ci/container/container-run.sh
Alternatively use the Dev Containers VS Code extension.
Check your code using:
./ci/scripts/rust-lint.sh
Or run the commands in that script, like cargo clippy, individually.
Build and test your code using bazel like this:
bazel test //... --test_tag_filters=-system_test
Don't run system-tests if you're not in the DFINITY network since they require infrastructure only available there.