mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Specify the minimum supported Rust version
This commit is contained in:
@@ -60,6 +60,38 @@ jobs:
|
||||
cargo vet --version
|
||||
cargo vet --locked
|
||||
|
||||
msrv:
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- windows-2025
|
||||
- ubuntu-24.04
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
env:
|
||||
EXPECTED_MSRV: "1.89"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- uses: actions/cache@v5
|
||||
id: cache-cargo
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-msrv-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Install Rust v${{ env.EXPECTED_MSRV }}
|
||||
run: rustup install ${{ env.EXPECTED_MSRV }}
|
||||
|
||||
- name: Run cargo build using Rust v${{ env.EXPECTED_MSRV }}
|
||||
run: cargo +${{ env.EXPECTED_MSRV }} build --package libloot --package libloot-cpp
|
||||
|
||||
rust:
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user