Skip to content

Commit 2f63148

Browse files
authored
fix CI (#340)
* fix CI workflow
1 parent f9e473c commit 2f63148

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: CI
22

3+
34
on:
45
push:
56
branches: [main, development]
67
pull_request:
78
branches: [development]
89

10+
911
jobs:
1012
tests:
1113
runs-on: "${{ matrix.platform.os }}-latest"
@@ -30,8 +32,8 @@ jobs:
3032
path: |
3133
~/.cargo
3234
./target
33-
key: ${{ runner.os }}-cargo-${{ matrix.platform.target }}-${{ hashFiles('**/Cargo.toml') }}
34-
restore-keys: ${{ runner.os }}-cargo-${{ matrix.platform.target }}-${{ hashFiles('**/Cargo.toml') }}
35+
key: ${{ runner.os }}-cargo-${{ matrix.platform.target }}-${{ hashFiles('Cargo.toml') }}
36+
restore-keys: ${{ runner.os }}-cargo-${{ matrix.platform.target }}
3537
- name: Install Rust toolchain
3638
uses: actions-rs/toolchain@v1
3739
with:
@@ -78,8 +80,8 @@ jobs:
7880
path: |
7981
~/.cargo
8082
./target
81-
key: ${{ runner.os }}-cargo-features-${{ hashFiles('**/Cargo.toml') }}
82-
restore-keys: ${{ runner.os }}-cargo-features-${{ hashFiles('**/Cargo.toml') }}
83+
key: ${{ runner.os }}-cargo-features-${{ hashFiles('Cargo.toml') }}
84+
restore-keys: ${{ runner.os }}-cargo-features
8385
- name: Install Rust toolchain
8486
uses: actions-rs/toolchain@v1
8587
with:

0 commit comments

Comments
 (0)