* fix CI workflow
This commit is contained in:
Lorenzo
2025-11-24 11:07:49 +09:00
committed by GitHub
parent f9e473c919
commit 2f63148de4
+6 -4
View File
@@ -1,11 +1,13 @@
name: CI name: CI
on: on:
push: push:
branches: [main, development] branches: [main, development]
pull_request: pull_request:
branches: [development] branches: [development]
jobs: jobs:
tests: tests:
runs-on: "${{ matrix.platform.os }}-latest" runs-on: "${{ matrix.platform.os }}-latest"
@@ -30,8 +32,8 @@ jobs:
path: | path: |
~/.cargo ~/.cargo
./target ./target
key: ${{ 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 }}-${{ hashFiles('**/Cargo.toml') }} restore-keys: ${{ runner.os }}-cargo-${{ matrix.platform.target }}
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
@@ -78,8 +80,8 @@ jobs:
path: | path: |
~/.cargo ~/.cargo
./target ./target
key: ${{ runner.os }}-cargo-features-${{ hashFiles('**/Cargo.toml') }} key: ${{ runner.os }}-cargo-features-${{ hashFiles('Cargo.toml') }}
restore-keys: ${{ runner.os }}-cargo-features-${{ hashFiles('**/Cargo.toml') }} restore-keys: ${{ runner.os }}-cargo-features
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with: