mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-24 10:41:11 +08:00
ci: 工具缓存 composite action 修 nextest 安装
This commit is contained in:
@@ -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