From 96f2b46c29ac945fe9452c7c1d637f84c0439cbb Mon Sep 17 00:00:00 2001 From: Klaus Ma Date: Mon, 13 Jan 2025 01:43:52 +0000 Subject: [PATCH] refact CI. Signed-off-by: Klaus Ma --- .github/workflows/code-verify.yaml | 4 ++++ .github/workflows/e2e.yaml | 19 ------------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/code-verify.yaml b/.github/workflows/code-verify.yaml index 5774900..1cd6993 100644 --- a/.github/workflows/code-verify.yaml +++ b/.github/workflows/code-verify.yaml @@ -28,6 +28,10 @@ jobs: - name: Install gRPC run: | sudo apt-get update && sudo apt-get install -y protobuf-compiler + - name: Cargo make + uses: actions-rs/cargo@v1 + with: + command: make - name: Cargo fmt uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 419e0d7..65b5c9d 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -14,25 +14,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Install rust - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - profile: minimal - override: true - - name: Install cargo-make - uses: actions-rs/cargo@v1 - with: - command: install - args: --debug cargo-make - - name: Install gRPC - run: | - sudo apt-get update && sudo apt-get install -y protobuf-compiler - - name: Cargo build - uses: actions-rs/cargo@v1 - with: - command: make - args: build - name: Setup Minikube uses: medyagh/setup-minikube@latest - name: Build image