Skip to content

Commit 09b6ba6

Browse files
committed
[ssr] fix msrv
1 parent bdf1ce3 commit 09b6ba6

File tree

4 files changed

+3810
-5
lines changed

4 files changed

+3810
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: dtolnay/rust-toolchain@master
2525
with:
2626
toolchain: ${{ matrix.rust }}
27-
- run: cargo test
27+
- run: cargo test --workspace --exclude chuchi-ssr
2828

2929
test_no_features:
3030
name: Test No features
@@ -40,7 +40,7 @@ jobs:
4040
- uses: dtolnay/rust-toolchain@master
4141
with:
4242
toolchain: ${{ matrix.rust }}
43-
- run: cargo test --no-default-features
43+
- run: cargo test --workspace --exclude chuchi-ssr --no-default-features
4444

4545
test_msrv_features:
4646
name: Test some features
@@ -56,7 +56,7 @@ jobs:
5656
- uses: dtolnay/rust-toolchain@master
5757
with:
5858
toolchain: ${{ matrix.rust }}
59-
- run: cargo test --features "json,fs,http1,http2,ws"
59+
- run: cargo test --workspace --exclude chuchi-ssr --features "json,fs,http1,http2,ws"
6060

6161
test_all_features:
6262
name: Test All features
@@ -73,6 +73,22 @@ jobs:
7373
toolchain: ${{ matrix.rust }}
7474
- run: cargo test --all-features
7575

76+
test_ssr:
77+
name: Test SSR
78+
runs-on: ubuntu-latest
79+
strategy:
80+
matrix:
81+
rust:
82+
- stable
83+
- nightly
84+
- 1.85.0
85+
steps:
86+
- uses: actions/checkout@v3
87+
- uses: dtolnay/rust-toolchain@master
88+
with:
89+
toolchain: ${{ matrix.rust }}
90+
- run: cargo test -p chuchi-ssr
91+
7692
clippy:
7793
name: Run Clippy
7894
runs-on: ubuntu-latest

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
/target
2-
Cargo.lock

0 commit comments

Comments
 (0)