summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-04-13 18:51:16 +0200
committerGitHub <noreply@github.com>2022-04-13 18:51:16 +0200
commitf7e7f548499eff8d2df0872d1340ddcdfa028c45 (patch)
tree0f50b66364aed8550009b1f5c8fcd4034ca4c4f5 /.github/workflows
parentd52613ebabe830bd0dd2376198986cb91f7470cd (diff)
chore: use lock file for tooling scripts (#14253)
This commit adds lock file for maintenance scripts in "tools/" directory. The lock file is stored in "tools/deno.lock.json".
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml6
-rw-r--r--.github/workflows/wpt_epoch.yml11
2 files changed, 13 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4faad19f8..26bf1ace8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -436,9 +436,11 @@ jobs:
run: |
"$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \
--allow-write --unstable \
+ --lock=tools/deno.lock.json \
./tools/wpt.ts setup
"$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \
--allow-write --unstable \
+ --lock=tools/deno.lock.json \
./tools/wpt.ts run --quiet --binary="$DENO_BIN"
- name: Run web platform tests (release)
@@ -450,9 +452,11 @@ jobs:
run: |
"$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \
--allow-write --unstable \
+ --lock=tools/deno.lock.json \
./tools/wpt.ts setup
"$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \
--allow-write --unstable \
+ --lock=tools/deno.lock.json \
./tools/wpt.ts run --quiet --release \
--binary="$DENO_BIN" \
--json=wpt.json \
@@ -486,7 +490,7 @@ jobs:
WPT_FYI_PW: ${{ secrets.WPT_FYI_PW }}
GITHUB_TOKEN: ${{ secrets.DENOBOT_PAT }}
run: |
- ./target/release/deno run --allow-all \
+ ./target/release/deno run --allow-all --lock=tools/deno.lock.json \
./tools/upload_wptfyi.js $(git rev-parse HEAD) --ghstatus
- name: Run benchmarks
diff --git a/.github/workflows/wpt_epoch.yml b/.github/workflows/wpt_epoch.yml
index a4b3f0712..24d573f73 100644
--- a/.github/workflows/wpt_epoch.yml
+++ b/.github/workflows/wpt_epoch.yml
@@ -67,12 +67,17 @@ jobs:
- name: Run web platform tests
shell: bash
run: |
- deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run ./tools/wpt.ts setup
- deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run ./tools/wpt.ts run --binary=$(which deno) --quiet --release --json=wpt.json --wptreport=wptreport.json || true
+ deno run --unstable --allow-write --allow-read --allow-net \
+ --allow-env --allow-run --lock=tools/deno.lock.json \
+ ./tools/wpt.ts setup
+ deno run --unstable --allow-write --allow-read --allow-net \
+ --allow-env --allow-run --lock=tools/deno.lock.json \
+ ./tools/wpt.ts run \
+ --binary=$(which deno) --quiet --release --json=wpt.json --wptreport=wptreport.json || true
- name: Upload wpt results to wpt.fyi
env:
WPT_FYI_USER: deno
WPT_FYI_PW: ${{ secrets.WPT_FYI_PW }}
run: |
- deno run -A ./tools/upload_wptfyi.js wptreport.json --from-raw-file
+ deno run -A --lock=tools/deno.lock.json ./tools/upload_wptfyi.js wptreport.json --from-raw-file