aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-09-29 14:02:11 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-09-29 16:13:24 +0200
commitdaa8d89b579f9a319e2bd9c59576e1d8ac76365e (patch)
tree2ecbbc78851cbb2f79564ff6ca6d738bd59f567f /.github
parente527f5f065bc384515929ccec497d66ad85830d1 (diff)
downloadaskama-daa8d89b579f9a319e2bd9c59576e1d8ac76365e.tar.gz
askama-daa8d89b579f9a319e2bd9c59576e1d8ac76365e.tar.bz2
askama-daa8d89b579f9a319e2bd9c59576e1d8ac76365e.zip
Add MSRV checking in CI
Bump MSRV to 1.65 for the use of let .. else.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 77eb07d..759edb3 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -54,6 +54,15 @@ jobs:
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets -- -D warnings
+ MSRV:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/rust-toolchain@master
+ with:
+ toolchain: "1.65.0"
+ - run: cargo check --lib -p askama --all-features
+
Audit:
runs-on: ubuntu-22.04
steps: