From e646999c71360497660a316520c72d88ad61dcc9 Mon Sep 17 00:00:00 2001 From: Oleksandr Anyshchenko Date: Fri, 10 Feb 2023 11:25:33 +0100 Subject: Check in CI compatibility with MSRV (#741) --- .github/workflows/rust.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9fd58b7..cc574a8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,6 +1,8 @@ name: RocksDB CI on: [push, pull_request] +env: + RUST_VERSION: 1.60.0 jobs: fmt: @@ -12,7 +14,7 @@ jobs: - name: Install rust uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: ${{ env.RUST_VERSION }} components: rustfmt profile: minimal override: true @@ -31,7 +33,7 @@ jobs: - name: Install rust uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: ${{ env.RUST_VERSION }} components: clippy profile: minimal override: true @@ -69,7 +71,7 @@ jobs: - name: Install rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ matrix.rust || 'stable' }} + toolchain: ${{ env.RUST_VERSION }} target: ${{ matrix.target }} profile: minimal override: true -- cgit v1.2.3-70-g09d2