From c943a99194626c8247ae6f8d9c3143292b472087 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Wed, 14 Oct 2020 00:53:04 +0300 Subject: [PATCH] CI: Add a minimum version check --- .github/workflows/cbindgen.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/cbindgen.yml b/.github/workflows/cbindgen.yml index 16e527d..099d889 100644 --- a/.github/workflows/cbindgen.yml +++ b/.github/workflows/cbindgen.yml @@ -30,6 +30,16 @@ jobs: command: fmt args: -- --check + - name: Install minimum supported Rust version + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: 1.40.0 + + - name: Build with minimum supported Rust version + run: | + cargo +1.40.0 build --verbose + build: runs-on: ubuntu-latest