Skip to content

Commit a518e49

Browse files
authored
fix: arbitrary flags for tasks (#124)
1 parent c321886 commit a518e49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+2683
-1199
lines changed

.ghjk/lock.json

Lines changed: 165 additions & 38 deletions
Large diffs are not rendered by default.

.github/workflows/autoupdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
auto-update:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-python@v5

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
workflow_dispatch:
66

77
env:
8-
DENO_VERSION: "2.1.2"
8+
DENO_VERSION: "2.2.4"
99
GHJK_LOG: debug
1010
GHJK_LOG_PANIC_LEVEL: error
1111
DENO_DIR: .deno-dir

.github/workflows/pr-title-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
check:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: amannn/action-semantic-pull-request@v5
1414
env:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
check-bump:
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
if: github.ref_type == 'tag' || ( github.event_name == 'workflow_dispatch' && inputs.checkBump )
2424
steps:
2525
- uses: actions/checkout@v4

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@ concurrency:
2424
cancel-in-progress: true
2525

2626
env:
27-
DENO_VERSION: "2.1.2"
27+
DENO_VERSION: "2.2.4"
2828
GHJK_LOG: debug
2929
GHJK_LOG_PANIC_LEVEL: error
3030
DENO_DIR: .deno-dir
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232

3333
jobs:
3434
changes:
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-22.04
3636
permissions:
3737
pull-requests: read
3838
steps:
3939
- uses: actions/checkout@v4
4040

4141
test-pre-commit:
4242
timeout-minutes: 60
43-
runs-on: ubuntu-latest
43+
runs-on: ubuntu-22.04
4444
steps:
4545
- uses: actions/checkout@v4
4646
- uses: dsherret/rust-toolchain-file@v1
@@ -104,16 +104,16 @@ jobs:
104104
deno task test
105105
106106
# test-action:
107-
# runs-on: ubuntu-latest
107+
# runs-on: ubuntu-22.04
108108
# steps:
109109
# - uses: actions/checkout@v4
110110
# - uses: dsherret/rust-toolchain-file@v1
111-
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
111+
# - uses: metatypedev/setup-ghjk@b4ab7287a841fd5f8a4117f3efc14131c7ec62e1
112112
# with:
113113
# installer-url: ./install.ts
114114
# env:
115-
# GHJKFILE: ./examples/protoc/ghjk.ts
115+
# GHJKFILE: ./examples/tasks/ghjk.ts
116116
# - run: |
117117
# cd examples/tasks
118-
# . $(ghjk print share-dir-path)/env.sh
118+
# . $(ghjk print data-dir-path)/env.sh
119119
# ghjk x hey

.vscode/settings.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
".",
44
"ghjk.ts"
55
],
6-
"deno.suggest.completeFunctionCalls": true,
7-
"deno.inlayHints.variableTypes.enabled": true,
8-
"deno.inlayHints.propertyDeclarationTypes.enabled": true,
9-
"deno.inlayHints.parameterTypes.enabled": true,
10-
"deno.inlayHints.parameterNames.enabled": "all",
11-
"deno.inlayHints.parameterNames.suppressWhenArgumentMatchesName": true,
12-
"deno.inlayHints.enumMemberValues.enabled": true,
13-
"deno.inlayHints.variableTypes.suppressWhenTypeMatchesName": true,
14-
"deno.inlayHints.functionLikeReturnTypes.enabled": true,
15-
"deno.codeLens.implementations": true,
16-
"deno.codeLens.references": true,
17-
"deno.codeLens.referencesAllFunctions": true,
6+
"typescript.suggest.completeFunctionCalls": true,
7+
// "typescript.inlayHints.variableTypes.enabled": true,
8+
// "typescript.inlayHints.propertyDeclarationTypes.enabled": true,
9+
// "typescript.inlayHints.parameterTypes.enabled": true,
10+
// "typescript.inlayHints.parameterNames.enabled": "all",
11+
// "typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": true,
12+
// "typescript.inlayHints.enumMemberValues.enabled": true,
13+
// "typescript.inlayHints.variableTypes.suppressWhenTypeMatchesName": true,
14+
// "typescript.inlayHints.functionLikeReturnTypes.enabled": true,
15+
// "deno.codeLens.implementations": true,
16+
// "deno.codeLens.references": true,
17+
// "deno.codeLens.referencesAllFunctions": true,
1818
"[typescript]": {
1919
"editor.defaultFormatter": "denoland.vscode-deno"
2020
},
@@ -37,5 +37,8 @@
3737
"markdown",
3838
"latex",
3939
"plaintext"
40-
]
40+
],
41+
"deno.enable": true,
42+
"deno.path": "./.ghjk/envs/dev/shims/bin/deno",
43+
"rust-analyzer.cachePriming.enable": false
4144
}

0 commit comments

Comments
 (0)