Skip to content

Commit

Permalink
integrate does --silent
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jan 16, 2025
1 parent 773b7fa commit 550c011
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 15 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
branches:
- main
paths:
- action.js
pull_request:
paths:
- action.yml
- action.js

jobs:
test1:
runs-on: ubuntu-latest
strategy:
matrix:
container:
- null
- ubuntu:latest
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- run: "! deno"
- uses: ./
- run: deno --version
21 changes: 7 additions & 14 deletions .github/workflows/ci.yml → .github/workflows/ci.app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,16 @@ on:
push:
branches:
- main
paths:
- app.ts
pull_request:
paths:
- app.ts
- deno.json
- deno.lock
- README.md

jobs:
test-action:
runs-on: ubuntu-latest
strategy:
matrix:
container:
- null
- ubuntu:latest
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- run: "! deno"
- uses: ./
- run: deno --version

lint:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion src/integrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default async function (
}

function shells(): [Path, string][] {
const eval_ln = 'eval "$(pkgx dev --shellcode)"';
const eval_ln = 'eval "$(pkgx --silent dev --shellcode)"';

const zdotdir = flatmap(Deno.env.get("ZDOTDIR"), Path.abs) ?? Path.home();
const zshpair: [Path, string] = [zdotdir.join(".zshrc"), eval_ln];
Expand Down

0 comments on commit 550c011

Please sign in to comment.