Skip to content

Commit fde516f

Browse files
committed
ai-coding: CI Update Rust
1 parent 3fbc0d8 commit fde516f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ env:
33
DEBUG: napi:*
44
APP_NAME: nacos-sdk-rust-binding-node
55
MACOSX_DEPLOYMENT_TARGET: '10.13'
6+
CARGO_NET_GIT_FETCH_WITH_CLI: true
7+
CARGO_BUILD_JOBS: 1
68
'on':
79
push:
810
branches:
@@ -105,6 +107,12 @@ jobs:
105107
with:
106108
toolchain: stable
107109
targets: ${{ matrix.settings.target }}
110+
- name: Update Rust
111+
if: ${{ !matrix.settings.docker }}
112+
run: rustup update stable
113+
- name: Update Cargo dependencies
114+
if: ${{ !matrix.settings.docker }}
115+
run: cargo update
108116
- name: Cache cargo
109117
uses: actions/cache@v3
110118
with:

0 commit comments

Comments
 (0)