commit 43073057c6055e188d01e8365b6567b2cdb53f75 parent 8c93adc02703296403eb43c731de78e74a00852a Author: egor-achkasov <eaachkasov@gmail.com> Date: Mon, 9 Mar 2026 13:04:58 +0000 Change cargo check stage image to windows Diffstat:
| M | .github/workflows/build.yml | | | 13 | +++++++------ |
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -5,14 +5,15 @@ on: jobs: check: - runs-on: ubuntu-latest - container: rust:alpine + runs-on: windows-latest steps: - uses: actions/checkout@v4 - - name: Install build dependencies - run: apk add --no-cache musl-dev + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-pc-windows-msvc - name: Cache cargo registry uses: actions/cache@v4 @@ -21,8 +22,8 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: alpine-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: alpine-cargo- + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo- - name: Cargo check run: cargo check --all-targets