Skip to content

Commit d96c35f

Browse files
committed
check that expected tool versions are in the container
1 parent 92ac600 commit d96c35f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • src/s-core-devcontainer/test-project

src/s-core-devcontainer/test-project/test.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ check "validate clang-format is working and has the correct version" bash -c "cl
1616
check "validate clang-tidy is working and has the correct version" bash -c "clang-tidy --version | grep '20.1.8'"
1717
check "validate clang is working and has the correct version" bash -c "clang --version | grep '20.1.8'"
1818

19+
# Rust tooling
20+
check "validate rustc is working and has the correct version" bash -c "rustc --version | grep '1.83.0'"
21+
check "validate cargo is working and has the correct version" bash -c "cargo --version | grep '1.83.0'"
22+
check "validate cargo clippy is working and has the correct version" bash -c "cargo clippy --version | grep '0.1.83'"
23+
check "validate rustfmt is working and has the correct version" bash -c "rustfmt --version | grep '1.8.0-stable'"
24+
check "validate rust-analyzer is working and has the correct version" bash -c "rust-analyzer --version | grep '1.83.0'"
25+
1926
# Tests from the local s-core-local feature
2027
source /devcontainer/features/s-core-local/tests/test_default.sh
2128

0 commit comments

Comments
 (0)