From a66eefa2bf2572fc311ea6ff65a7b6ecc4df96a6 Mon Sep 17 00:00:00 2001 From: priya-kinthali <147703874+priya-kinthali@users.noreply.github.com> Date: Fri, 20 Mar 2026 02:45:47 +0530 Subject: [PATCH] CI: remove manual PowerShell install from test-proxy job (e2e-tests.yml) (#703) * fix basic validation with npm command * Revert "fix basic validation with npm command" This reverts commit 27a0803a2ab96426d0c31f6d2d725ea6fbc20c2f. * replace ubuntu:22.04 with devcontainer image to remove unsafe powershell install --- .github/workflows/e2e-tests.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 7bc1ecb..d670813 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -495,7 +495,7 @@ jobs: test-proxy: runs-on: ubuntu-22.04 container: - image: ubuntu:22.04 + image: mcr.microsoft.com/devcontainers/dotnet:10.0 options: --dns 127.0.0.1 services: squid-proxy: @@ -508,15 +508,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - - name: Install Powershell - run: | - apt-get update - apt-get install -y wget apt-transport-https software-properties-common - wget -q "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb" - dpkg -i packages-microsoft-prod.deb - rm packages-microsoft-prod.deb - apt-get update - apt-get install -y powershell - name: Clear toolcache shell: pwsh run: __tests__/clear-toolcache.ps1 ${{ runner.os }}