From f270e41aae5466da1df52e9d73198b5067339c8a Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Wed, 1 May 2024 16:15:29 +0100 Subject: ci: use -A for wpt script (#23631) Fixes CI. The wpt setup script writes to `/etc/hosts` which now needs `--allow-all`. We use the latest release for the deno binary there so it's only impacted as of the 1.43.0 release. --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca9d2b756..b96aa9709 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -538,14 +538,10 @@ jobs: env: DENO_BIN: ./target/release/deno run: |- - deno run --allow-env --allow-net --allow-read --allow-run \ - --allow-write --unstable \ - --lock=tools/deno.lock.json \ + deno run -A --unstable --lock=tools/deno.lock.json \ ./tests/wpt/wpt.ts setup - deno run --allow-env --allow-net --allow-read --allow-run \ - --allow-write --unstable \ - --lock=tools/deno.lock.json \ - ./tests/wpt/wpt.ts run --quiet --release \ + deno run -A --unstable --lock=tools/deno.lock.json \ + ./tests/wpt/wpt.ts run --quiet --release \ --binary="$DENO_BIN" \ --json=wpt.json \ --wptreport=wptreport.json -- cgit v1.2.3