ci: 工具缓存 composite action 修 nextest 安装

This commit is contained in:
2026-10-10 11:10:22 +00:00
parent 1f31d7d448
commit 9676c31ca8
3 changed files with 42 additions and 8 deletions
+1 -4
View File
@@ -42,9 +42,6 @@ jobs:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install sccache and mold
run: sudo apt-get update -y && sudo apt-get install -y sccache mold
- name: Install cargo-nextest
run: curl -sSf https://raw.githubusercontent.com/nextest-rs/nextest/main/scripts/install.sh | bash
- uses: ./.github/actions/setup-tools
- name: Test
run: cargo nextest run ${{ matrix.group.args }}
+2 -4
View File
@@ -41,8 +41,7 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Install sccache and mold
run: sudo apt-get update -y && sudo apt-get install -y sccache mold
- uses: ./.github/actions/setup-tools
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
@@ -55,8 +54,7 @@ jobs:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install sccache and mold
run: sudo apt-get update -y && sudo apt-get install -y sccache mold
- uses: ./.github/actions/setup-tools
- name: Build
run: cargo build --verbose