mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-24 02:31:13 +08:00
ci: 工具缓存 composite action 修 nextest 安装
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user