Visitar URL original
CI: remove manual PowerShell install from test-proxy job (e2e-tests.y… · actions/setup-dotnet@a66eefa · GitHub
Skip to content

Commit a66eefa

Browse files
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 27a0803. * replace ubuntu:22.04 with devcontainer image to remove unsafe powershell install
1 parent c2fa09f commit a66eefa

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

‎.github/workflows/e2e-tests.yml‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ jobs:
495495
test-proxy:
496496
runs-on: ubuntu-22.04
497497
container:
498-
image: ubuntu:22.04
498+
image: mcr.microsoft.com/devcontainers/dotnet:10.0
499499
options: --dns 127.0.0.1
500500
services:
501501
squid-proxy:
@@ -508,15 +508,6 @@ jobs:
508508
steps:
509509
- name: Checkout
510510
uses: actions/checkout@v6
511-
- name: Install Powershell
512-
run: |
513-
apt-get update
514-
apt-get install -y wget apt-transport-https software-properties-common
515-
wget -q "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb"
516-
dpkg -i packages-microsoft-prod.deb
517-
rm packages-microsoft-prod.deb
518-
apt-get update
519-
apt-get install -y powershell
520511
- name: Clear toolcache
521512
shell: pwsh
522513
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}

0 commit comments

Comments
 (0)