ソースを参照

feat(ci): improve cache usage

Lucas Nogueira 2 年 前
コミット
777c086590

+ 1 - 0
.github/workflows/bench.yml

@@ -33,6 +33,7 @@ jobs:
         with:
           toolchain: ${{ matrix.rust }}
           override: true
+          default: true
           components: rust-src
           target: ${{ matrix.platform.target }}
 

+ 1 - 0
.github/workflows/docker.yml

@@ -67,6 +67,7 @@ jobs:
         with:
           toolchain: stable
           override: true
+          default: true
           target: ${{ matrix.target.name }}
 
       - name: Setup node

+ 3 - 0
.github/workflows/test-bundler.yml

@@ -40,6 +40,8 @@ jobs:
           toolchain: stable
 
       - uses: Swatinem/rust-cache@v2
+        with:
+          workspaces: tooling/bundler
 
       - name: test
         run: |
@@ -76,6 +78,7 @@ jobs:
           profile: minimal
           toolchain: stable
           override: true
+          default: true
           components: rustfmt, clippy
 
       - uses: Swatinem/rust-cache@v2

+ 2 - 0
.github/workflows/test-core.yml

@@ -56,6 +56,8 @@ jobs:
           toolchain: ${{ matrix.platform.toolchain }}
           target: ${{ matrix.platform.target }}
           override: true
+          default: true
+
       - name: install Linux dependencies
         if: contains(matrix.platform.target, 'unknown-linux')
         run: |