diff --git a/.github/workflows/as-basic.yml b/.github/workflows/as-basic.yml index 0e3a6ca60..3df798574 100644 --- a/.github/workflows/as-basic.yml +++ b/.github/workflows/as-basic.yml @@ -19,11 +19,8 @@ jobs: if: github.event_name == 'pull_request' || github.event_name == 'push' name: Check runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - rust: - - stable + env: + RUSTC_VERSION: 1.76.0 steps: - name: Code checkout uses: actions/checkout@v4 @@ -56,11 +53,11 @@ jobs: sudo apt-get update sudo apt-get install -y libsgx-dcap-quote-verify-dev - - name: Install Rust toolchain (${{ matrix.rust }}) + - name: Install Rust toolchain (${{ env.RUSTC_VERSION }}) uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: ${{ matrix.rust }} + toolchain: ${{ env.RUSTC_VERSION }} override: true components: rustfmt, clippy diff --git a/.github/workflows/as-e2e.yml b/.github/workflows/as-e2e.yml index 1c71f7a2c..1bfe39f27 100644 --- a/.github/workflows/as-e2e.yml +++ b/.github/workflows/as-e2e.yml @@ -28,6 +28,7 @@ jobs: name: TEE=${{ matrix.restful_tee_enum }} Generate Evidence Dynamically=${{ matrix.generate_evidence }} runs-on: ${{ matrix.runner }} env: + RUSTC_VERSION: 1.76.0 GRPC_TEE_ENUM: ${{ matrix.grpc_tee_enum }} RESTFUL_TEE_ENUM: ${{ matrix.restful_tee_enum }} steps: @@ -36,7 +37,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: ${{ env.RUSTC_VERSION }} - uses: actions/setup-go@v5 with: diff --git a/.github/workflows/kbs-docker-e2e.yaml b/.github/workflows/kbs-docker-e2e.yaml index 2faff86ad..6dc5aa98e 100644 --- a/.github/workflows/kbs-docker-e2e.yaml +++ b/.github/workflows/kbs-docker-e2e.yaml @@ -12,6 +12,8 @@ env: jobs: e2e-test: runs-on: ubuntu-latest + env: + RUSTC_VERSION: 1.76.0 steps: - name: Checkout KBS uses: actions/checkout@v4 @@ -20,7 +22,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: ${{ env.RUSTC_VERSION }} - name: Build client uses: actions-rs/cargo@v1 diff --git a/.github/workflows/kbs-e2e.yaml b/.github/workflows/kbs-e2e.yaml index 04ebd4ed1..5ae59633a 100644 --- a/.github/workflows/kbs-e2e.yaml +++ b/.github/workflows/kbs-e2e.yaml @@ -23,7 +23,8 @@ defaults: jobs: e2e-test: runs-on: ${{ fromJSON(inputs.runs-on) }} - + env: + RUSTC_VERSION: 1.76.0 steps: - uses: actions/download-artifact@v4 @@ -33,7 +34,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: ${{ env.RUSTC_VERSION }} - uses: actions/setup-go@v5 with: diff --git a/.github/workflows/kbs-rust.yml b/.github/workflows/kbs-rust.yml index 314e0c54c..7b1cd6010 100644 --- a/.github/workflows/kbs-rust.yml +++ b/.github/workflows/kbs-rust.yml @@ -21,15 +21,9 @@ jobs: ci: strategy: fail-fast: false - matrix: - rust: - - stable - - beta - - nightly - os: - - ubuntu-latest - - runs-on: ${{ matrix.os }} + env: + RUSTC_VERSION: 1.76.0 + runs-on: ubuntu-latest steps: - name: Code checkout @@ -39,7 +33,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: ${{ matrix.rust }} + toolchain: ${{ env.RUSTC_VERSION }} override: true components: rustfmt, clippy target: x86_64-unknown-linux-gnu