ci: update toolchain
Some checks failed
Create Scripts / Build (push) Failing after 11s

This commit is contained in:
椰子 2025-06-27 17:17:36 +08:00
parent 6a4688b9c1
commit 285203e62a

View File

@ -9,14 +9,28 @@ jobs:
Build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions/checkout@v4
- uses: actions/cache@v4
env:
prefix-key: v0-rust
with:
toolchain: stable
- name: Create Script
uses: actions-rs/cargo@v1
key: ${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') | head -c 8 }}
restore-keys: |
${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-
${{ env.prefix-key }}-${{ runner.os }}-
${{ env.prefix-key }}-
path: |
~/.cargo/bin
~/.cargo/.crates.toml
~/.cargo/.crates2.json
~/.cargo/registry
~/.cargo/git
~/.rustup/toolchains
./target
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.88.0
- uses: actions-rs/cargo@v1
with:
command: run
# - name: Upload Artifact