Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate does --silent #30

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
22 changes: 8 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,17 @@ on:
push:
branches:
- main
paths:
- app.ts
pull_request:
paths:
- app.ts
- src/**.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
Loading