Skip to content

Commit 750ab1c

Browse files
committed
Build: rename check to test
1 parent 09aff4a commit 750ab1c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
run: |
4242
cd server
4343
./bt install --dev
44-
./bt check
44+
./bt test

builder/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ enum Commands {
6060
},
6161
/// Update all dependencies.
6262
Update,
63-
/// Run lints and compile.
64-
Check,
63+
/// Run lints and tests.
64+
Test,
6565
/// Build everything.
6666
Build,
6767
/// Steps to run before `cargo dist build`.
@@ -320,7 +320,7 @@ fn run_update() -> Result<(), Box<dyn std::error::Error>> {
320320
Ok(())
321321
}
322322

323-
fn run_check() -> Result<(), Box<dyn std::error::Error>> {
323+
fn run_test() -> Result<(), Box<dyn std::error::Error>> {
324324
// On Windows, `cargo sort --check` fails since it default to LF, not CRLF,
325325
// line endings. Work around this by changing this setting only on Windows.
326326
// See the
@@ -422,7 +422,7 @@ impl Cli {
422422
match &self.command {
423423
Commands::Install { dev } => run_install(*dev),
424424
Commands::Update => run_update(),
425-
Commands::Check => run_check(),
425+
Commands::Test => run_test(),
426426
Commands::Build => run_build(),
427427
Commands::Prerelease => run_prerelease(),
428428
Commands::Postrelease { target, .. } => run_postrelease(target),

0 commit comments

Comments
 (0)