From 9c344b55d6f85b65a3096596352e733f037a9ea3 Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Thu, 1 Dec 2022 09:16:15 +0000 Subject: [PATCH] add MSRV --- .clippy.toml | 1 + .github/workflows/ci.yml | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .clippy.toml diff --git a/.clippy.toml b/.clippy.toml new file mode 100644 index 00000000..16caf02e --- /dev/null +++ b/.clippy.toml @@ -0,0 +1 @@ +msrv = "1.60.0" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68432f7a..f05d801b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: continue-on-error: ${{ matrix.required }} strategy: matrix: - build: [stable, nightly] + build: [stable, nightly, msrv] include: - build: stable required: true @@ -19,6 +19,9 @@ jobs: - build: nightly required: false toolchain: nightly + - build: msrv + required: true + toolchain: "1.60.0" services: postgres: @@ -47,7 +50,6 @@ jobs: profile: minimal toolchain: ${{ matrix.toolchain }} override: true - components: rustfmt - name: Rust cache uses: Swatinem/rust-cache@v2