From 5752c9cbf2899f633ecab0d225c38eb0e03b1a1d Mon Sep 17 00:00:00 2001 From: Zahari Dichev Date: Wed, 19 Mar 2025 13:12:28 +0000 Subject: [PATCH] default shell: bash Signed-off-by: Zahari Dichev --- .github/workflows/pr.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9f76fb8b9..d8b9c2298 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -109,29 +109,28 @@ jobs: permissions: contents: read timeout-minutes: 20 + defaults: + run: + shell: bash steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Install Rust (rustup) run: rustup update stable --no-self-update && rustup default stable - shell: bash - name: Install nextest run: curl -LsSf https://get.nexte.st/latest/windows-tar | tar zxf - -C "$CARGO_HOME"/bin - shell: bash - name: Add windows target run: rustup target add x86_64-pc-windows-gnu - name: Install nasm run: choco install nasm - shell: cmd - name: Install protoc run: choco install protoc - shell: cmd - name: Install LLVM and Clang uses: KyleMayes/install-llvm-action@6ba6e2cd3813def9879be378609d87cb3ef3bac3 with: version: "19.1.7" directory: ${{ runner.temp }}/llvm - name: Set LIBCLANG_PATH - run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV + run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> "$GITHUB_ENV" - run: cargo fetch --locked - run: cargo fmt -- --check - run: cargo clippy --target=x86_64-pc-windows-gnu --workspace --all-targets --frozen