diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index e2f2728..17110d5 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -36,7 +36,16 @@ jobs: uses: ruby/setup-ruby-pkgs@v1 with: ruby-version: mingw - mingw: clang rust + mingw: clang + + - name: Install/Update Rust + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable-x86_64-pc-windows-gnu + components: rustfmt + +# - name: install rust +# run: pacman -S --noconfirm --noprogressbar --needed mingw-w64-x86_64-rust - name: Cache - .downloaded-cache uses: actions/cache@v3 diff --git a/.github/workflows/ucrt.yml b/.github/workflows/ucrt.yml index b2625e8..b7d9169 100644 --- a/.github/workflows/ucrt.yml +++ b/.github/workflows/ucrt.yml @@ -36,7 +36,16 @@ jobs: uses: ruby/setup-ruby-pkgs@v1 with: ruby-version: 3.2 - mingw: clang rust + mingw: clang + + - name: Install/Update Rust + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable-x86_64-pc-windows-gnu + components: rustfmt + +# - name: install rust +# run: pacman -S --noconfirm --noprogressbar --needed mingw-w64-ucrt-x86_64-rust - name: Cache - .downloaded-cache uses: actions/cache@v3