diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96856b9..a4e7ce0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,11 @@ jobs: with: command: clippy args: --all-targets --all-features -- -D warnings + - uses: cargo-bins/cargo-binstall@main + - name: Verify the MSRV + run: | + cargo binstall --no-confirm cargo-msrv + make verify publish-check: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index e574d74..25efa4e 100644 --- a/Makefile +++ b/Makefile @@ -58,3 +58,8 @@ screencast: ## Create a screencast for the docs termsvg rec --command=assets/screencast.sh recording.asc termsvg export --minify recording.asc --output=assets/screencast.svg rm recording.asc + +.PHONY: verify +verify: ## Verify the MSRV + cargo msrv --path lychee-lib verify + cargo msrv --path lychee-bin verify