modify ci pr-checks

This commit is contained in:
houseme
2025-06-10 10:11:47 +08:00
parent 3321439951
commit 3cf265611a
3 changed files with 17 additions and 14 deletions
+7 -4
View File
@@ -39,8 +39,8 @@ jobs:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@v4.2.2
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
- name: Format Check # - name: Format Check
run: cargo fmt --all --check # run: cargo fmt --all --check
- name: Lint Check - name: Lint Check
run: cargo check --all-targets run: cargo check --all-targets
@@ -51,6 +51,9 @@ jobs:
- name: Unit Tests - name: Unit Tests
run: cargo test --all --exclude e2e_test run: cargo test --all --exclude e2e_test
- name: Format Code
run: cargo fmt --all
s3s-e2e: s3s-e2e:
name: E2E (s3s-e2e) name: E2E (s3s-e2e)
needs: needs:
@@ -65,7 +68,7 @@ jobs:
with: with:
cache-on-failure: true cache-on-failure: true
cache-all-crates: true cache-all-crates: true
- name: Test - name: Test
run: cargo test --all --exclude e2e_test run: cargo test --all --exclude e2e_test
@@ -83,7 +86,7 @@ jobs:
with: with:
name: rustfs name: rustfs
path: ./target/artifacts/* path: ./target/artifacts/*
- name: Install s3s-e2e - name: Install s3s-e2e
run: | run: |
cargo install s3s-e2e --git https://github.com/Nugine/s3s.git cargo install s3s-e2e --git https://github.com/Nugine/s3s.git
Generated
+8 -8
View File
@@ -1651,9 +1651,9 @@ dependencies = [
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.5.39" version = "4.5.40"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd60e63e9be68e5fb56422e397cf9baddded06dae1d2e523401542383bc72a9f" checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f"
dependencies = [ dependencies = [
"clap_builder", "clap_builder",
"clap_derive", "clap_derive",
@@ -1661,9 +1661,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_builder" name = "clap_builder"
version = "4.5.39" version = "4.5.40"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89cc6392a1f72bbeb820d71f32108f61fdaf18bc526e1d23954168a67759ef51" checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e"
dependencies = [ dependencies = [
"anstream", "anstream",
"anstyle", "anstyle",
@@ -1673,9 +1673,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_derive" name = "clap_derive"
version = "4.5.32" version = "4.5.40"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce"
dependencies = [ dependencies = [
"heck 0.5.0", "heck 0.5.0",
"proc-macro2", "proc-macro2",
@@ -9018,9 +9018,9 @@ dependencies = [
[[package]] [[package]]
name = "smallvec" name = "smallvec"
version = "1.15.0" version = "1.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
dependencies = [ dependencies = [
"serde", "serde",
] ]
+2 -2
View File
@@ -74,7 +74,7 @@ byteorder = "1.5.0"
cfg-if = "1.0.0" cfg-if = "1.0.0"
chacha20poly1305 = { version = "0.10.1" } chacha20poly1305 = { version = "0.10.1" }
chrono = { version = "0.4.41", features = ["serde"] } 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" config = "0.15.11"
const-str = { version = "0.6.2", features = ["std", "proc"] } const-str = { version = "0.6.2", features = ["std", "proc"] }
crc32fast = "1.4.2" crc32fast = "1.4.2"
@@ -184,7 +184,7 @@ serde_urlencoded = "0.7.1"
serde_with = "3.12.0" serde_with = "3.12.0"
sha2 = "0.10.9" sha2 = "0.10.9"
siphasher = "1.0.1" siphasher = "1.0.1"
smallvec = { version = "1.15.0", features = ["serde"] } smallvec = { version = "1.15.1", features = ["serde"] }
snafu = "0.8.6" snafu = "0.8.6"
socket2 = "0.5.10" socket2 = "0.5.10"
strum = { version = "0.27.1", features = ["derive"] } strum = { version = "0.27.1", features = ["derive"] }