Mercurial > crates > systemd-socket
comparison .github/workflows/rust.yml @ 31:fbb9e1206e3c
Use explicit Rust version in CI
author | Martin Habovstiak <martin.habovstiak@gmail.com> |
---|---|
date | Sun, 20 Apr 2025 17:55:34 +0200 |
parents | 27456533853e |
children |
comparison
equal
deleted
inserted
replaced
27:85b0f4a7303d | 31:fbb9e1206e3c |
---|---|
18 matrix: | 18 matrix: |
19 os: [ubuntu-latest, windows-latest, macOS-latest] | 19 os: [ubuntu-latest, windows-latest, macOS-latest] |
20 | 20 |
21 steps: | 21 steps: |
22 - uses: actions/checkout@v2 | 22 - uses: actions/checkout@v2 |
23 - name: Select the minimal lock file | |
24 run: cp Cargo-minimal.lock Cargo.lock | |
25 - name: Set Rust version | |
26 if: matrix.os != 'macOS-latest' | |
27 run: rustup default 1.48.0 | |
23 - name: Build | 28 - name: Build |
24 run: cargo build --verbose | 29 run: cargo build --verbose |
25 - name: Run tests | 30 - name: Run tests |
26 run: cargo test --all-features --verbose | 31 run: cargo test --all-features --verbose |