diff --git a/.github/workflows/ci_push.yml b/.github/workflows/ci_push.yml index 5a6b35ea..9c83a1f5 100644 --- a/.github/workflows/ci_push.yml +++ b/.github/workflows/ci_push.yml @@ -13,6 +13,15 @@ jobs: run: git config --global --add safe.directory /__w/hidive/hidive - uses: 'actions/checkout@v3' + - name: Cache Rust dependencies + uses: actions/cache@v3 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Setup Rust uses: dtolnay/rust-toolchain@stable with: @@ -51,7 +60,7 @@ jobs: run: gcloud auth configure-docker us.gcr.io -q - name: Build and push Docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: ./docker push: true