diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-05-01 16:15:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 09:15:29 -0600 |
commit | f270e41aae5466da1df52e9d73198b5067339c8a (patch) | |
tree | 4a1e4dbbe91ca215496971d4d44a0c8482bd44e0 | |
parent | 5ff881a0737eccceed55a0ace3ef3110d5b72b2f (diff) |
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.
-rwxr-xr-x | .github/workflows/ci.generate.ts | 10 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 10 |
2 files changed, 6 insertions, 14 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index e19e9fdee..249ddc650 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -881,14 +881,10 @@ const ci = { 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", 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 |