build: bump cachix/install-nix-action from 25 to 26 #2878
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
CARGO_INCREMENTAL: 0 | |
RUST_BACKTRACE: short | |
jobs: | |
run-tests: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.67.0 | |
override: true | |
- name: Cache dependencies | |
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 | |
- name: Compile | |
run: cargo build --all-targets --workspace | |
- name: Run tests | |
timeout-minutes: 30 | |
run: | | |
$env:TEST_GIT='C:\Program Files\Git\cmd\git.exe' | |
$env:TEST_GIT_EXEC_PATH='C:\Program Files\Git\cmd' | |
cargo test --examples --tests --workspace |