chore(CI): Check the MSRV

Because of `rust-toolchain.toml` file, now the rustc will install the
channel that in it, so we need to override the MSRV in the `cargo` command
This commit is contained in:
Awiteb 2024-05-05 20:05:43 +03:00
parent 1d9e0373e8
commit 098d5df395
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -13,6 +13,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: https://codeberg.org/TheAwiteb/rust-action@v1.74 - uses: https://codeberg.org/TheAwiteb/rust-action@v1.74
- name: Check MSRV
run: cargo +1.74 build
- name: Build the source code - name: Build the source code
run: cargo build run: cargo build
- name: Check the code format - name: Check the code format