From 3cf265611a442369e76f2df7047cc3e4a1dc93c7 Mon Sep 17 00:00:00 2001 From: houseme Date: Tue, 10 Jun 2025 10:11:47 +0800 Subject: [PATCH] modify ci pr-checks --- .github/workflows/ci.yml | 11 +++++++---- Cargo.lock | 16 ++++++++-------- Cargo.toml | 4 ++-- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49dc34dc6..6f52bf974 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,8 +39,8 @@ jobs: - uses: actions/checkout@v4.2.2 - uses: ./.github/actions/setup - - name: Format Check - run: cargo fmt --all --check + # - name: Format Check + # run: cargo fmt --all --check - name: Lint Check run: cargo check --all-targets @@ -51,6 +51,9 @@ jobs: - name: Unit Tests run: cargo test --all --exclude e2e_test + - name: Format Code + run: cargo fmt --all + s3s-e2e: name: E2E (s3s-e2e) needs: @@ -65,7 +68,7 @@ jobs: with: cache-on-failure: true cache-all-crates: true - + - name: Test run: cargo test --all --exclude e2e_test @@ -83,7 +86,7 @@ jobs: with: name: rustfs path: ./target/artifacts/* - + - name: Install s3s-e2e run: | cargo install s3s-e2e --git https://github.com/Nugine/s3s.git diff --git a/Cargo.lock b/Cargo.lock index fe27e24d1..b0a5c0c23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1651,9 +1651,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.39" +version = "4.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd60e63e9be68e5fb56422e397cf9baddded06dae1d2e523401542383bc72a9f" +checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f" dependencies = [ "clap_builder", "clap_derive", @@ -1661,9 +1661,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.39" +version = "4.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89cc6392a1f72bbeb820d71f32108f61fdaf18bc526e1d23954168a67759ef51" +checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e" dependencies = [ "anstream", "anstyle", @@ -1673,9 +1673,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.32" +version = "4.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" +checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -9018,9 +9018,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.15.0" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" dependencies = [ "serde", ] diff --git a/Cargo.toml b/Cargo.toml index 09db0c902..f111c5d5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,7 +74,7 @@ byteorder = "1.5.0" cfg-if = "1.0.0" chacha20poly1305 = { version = "0.10.1" } chrono = { version = "0.4.41", features = ["serde"] } -clap = { version = "4.5.39", features = ["derive", "env"] } +clap = { version = "4.5.40", features = ["derive", "env"] } config = "0.15.11" const-str = { version = "0.6.2", features = ["std", "proc"] } crc32fast = "1.4.2" @@ -184,7 +184,7 @@ serde_urlencoded = "0.7.1" serde_with = "3.12.0" sha2 = "0.10.9" siphasher = "1.0.1" -smallvec = { version = "1.15.0", features = ["serde"] } +smallvec = { version = "1.15.1", features = ["serde"] } snafu = "0.8.6" socket2 = "0.5.10" strum = { version = "0.27.1", features = ["derive"] }