Skip to content

Commit 8586702

Browse files
committed
Missing --allow-sys=uid
Add integration test
1 parent e10196d commit 8586702

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,12 @@ jobs:
2121
- run: deno fmt --check .
2222
- run: deno lint .
2323
- run: deno check ./pkgm.ts
24+
25+
integration:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: denolib/setup-deno@v2
30+
with:
31+
deno-version: v2.x
32+
- run: ./pkgm.ts install git

pkgm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S pkgx deno^2.1 run --ext=ts --allow-run=pkgx,/usr/bin/sudo --allow-env=PKGX_DIR,HOME --allow-read=/usr/local/pkgs
1+
#!/usr/bin/env -S pkgx deno^2.1 run --ext=ts --allow-sys=uid --allow-run=pkgx,/usr/bin/sudo --allow-env=PKGX_DIR,HOME --allow-read=/usr/local/pkgs
22
import { dirname, fromFileUrl, join } from "jsr:@std/path";
33
import { ensureDir, existsSync } from "jsr:@std/fs";
44
import { parse as parse_args } from "jsr:@std/flags";

0 commit comments

Comments
 (0)