From 2f63148de4555af0981456508ad9d26cb4e456df Mon Sep 17 00:00:00 2001 From: Lorenzo Date: Mon, 24 Nov 2025 11:07:49 +0900 Subject: [PATCH] fix CI (#340) * fix CI workflow --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3dd3361..35daf1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,13 @@ name: CI + on: push: branches: [main, development] pull_request: branches: [development] + jobs: tests: runs-on: "${{ matrix.platform.os }}-latest" @@ -30,8 +32,8 @@ jobs: path: | ~/.cargo ./target - key: ${{ runner.os }}-cargo-${{ matrix.platform.target }}-${{ hashFiles('**/Cargo.toml') }} - restore-keys: ${{ runner.os }}-cargo-${{ matrix.platform.target }}-${{ hashFiles('**/Cargo.toml') }} + key: ${{ runner.os }}-cargo-${{ matrix.platform.target }}-${{ hashFiles('Cargo.toml') }} + restore-keys: ${{ runner.os }}-cargo-${{ matrix.platform.target }} - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -78,8 +80,8 @@ jobs: path: | ~/.cargo ./target - key: ${{ runner.os }}-cargo-features-${{ hashFiles('**/Cargo.toml') }} - restore-keys: ${{ runner.os }}-cargo-features-${{ hashFiles('**/Cargo.toml') }} + key: ${{ runner.os }}-cargo-features-${{ hashFiles('Cargo.toml') }} + restore-keys: ${{ runner.os }}-cargo-features - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: