diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1d9bb8656..0fd28eba8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,7 @@ jobs: - stable - beta - nightly - - "1.66" + - "1.70" target: - x86_64-unknown-linux-gnu - x86_64-unknown-linux-musl diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 16815d975..a9d3eb554 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,29 +16,29 @@ jobs: - name: Install Rust toolchain (x86_64-unknown-linux-gnu) uses: actions-rs/toolchain@v1 with: - toolchain: "1.67.1" + toolchain: "1.70" target: x86_64-unknown-linux-gnu - name: Install Rust toolchain (x86_64-unknown-linux-musl) uses: actions-rs/toolchain@v1 with: - toolchain: "1.67.1" + toolchain: "1.70" target: x86_64-unknown-linux-musl - name: Build uses: actions-rs/cargo@v1 with: - toolchain: "1.67.1" + toolchain: "1.70" command: build args: --all --release --features mshv --target=x86_64-unknown-linux-gnu - name: Static Build uses: actions-rs/cargo@v1 with: - toolchain: "1.67.1" + toolchain: "1.70" command: build args: --all --release --features mshv --target=x86_64-unknown-linux-musl - name: Install Rust toolchain (aarch64-unknown-linux-musl) uses: actions-rs/toolchain@v1 with: - toolchain: "1.67.1" + toolchain: "1.70" target: aarch64-unknown-linux-musl override: true - name: Create Release diff --git a/Cargo.toml b/Cargo.toml index 547bccc28..612ab90ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor" # a.) A dependency requires it, # b.) If we want to use a new feature and that MSRV is at least 6 months old, # c.) There is a security issue that is addressed by the toolchain update. -rust-version = "1.66" +rust-version = "1.70" [profile.release] lto = true