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