From b526a07022ef8b5b2c1969763d11955d4b332c4c Mon Sep 17 00:00:00 2001 From: Morgante Pell Date: Fri, 5 Jul 2024 11:50:39 -0700 Subject: [PATCH] chore: upgrade nscloud checkout action (#402) --- .github/workflows/code-quality.yaml | 5 +++-- .github/workflows/main.yaml | 15 +++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/code-quality.yaml b/.github/workflows/code-quality.yaml index a61285f04..db4d80f65 100644 --- a/.github/workflows/code-quality.yaml +++ b/.github/workflows/code-quality.yaml @@ -12,8 +12,9 @@ jobs: runs-on: namespace-profile-standard-ubuntu22-amd64 steps: - name: clone code - uses: namespacelabs/nscloud-checkout-action@v2 - - run: nsc git-checkout update-submodules --mirror_base_path=${NSC_GIT_MIRROR} --repository_path=${GITHUB_WORKSPACE} --recurse + uses: namespacelabs/nscloud-checkout-action@v4 + with: + submodules: recursive - name: Install Protoc run: sudo apt-get install -y protobuf-compiler - run: rustup component add clippy diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 71f6ea762..a5c8179b7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,8 +21,9 @@ jobs: BUILD_PLATFORM: amd64 steps: - name: clone code - uses: namespacelabs/nscloud-checkout-action@v2 - - run: nsc git-checkout update-submodules --mirror_base_path=${NSC_GIT_MIRROR} --repository_path=${GITHUB_WORKSPACE} --recurse + uses: namespacelabs/nscloud-checkout-action@v4 + with: + submodules: recursive - name: Install Protoc run: sudo apt-get install -y protobuf-compiler - name: install Rust @@ -74,8 +75,9 @@ jobs: id-token: "write" steps: - name: clone code - uses: namespacelabs/nscloud-checkout-action@v2 - - run: nsc git-checkout update-submodules --mirror_base_path=${NSC_GIT_MIRROR} --repository_path=${GITHUB_WORKSPACE} --recurse + uses: namespacelabs/nscloud-checkout-action@v4 + with: + submodules: recursive - name: install Rust uses: actions-rs/toolchain@v1 with: @@ -97,8 +99,9 @@ jobs: runs-on: namespace-profile-standard-ubuntu22-amd64 steps: - name: clone code - uses: namespacelabs/nscloud-checkout-action@v2 - - run: nsc git-checkout update-submodules --mirror_base_path=${NSC_GIT_MIRROR} --repository_path=${GITHUB_WORKSPACE} --recurse + uses: namespacelabs/nscloud-checkout-action@v4 + with: + submodules: recursive - name: install Rust uses: actions-rs/toolchain@v1 with: