-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into test-runner
- Loading branch information
Showing
749 changed files
with
10,334 additions
and
11,786 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
name: nightly docker builds | ||
on: | ||
schedule: | ||
- cron: "0 2 * * *" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
name: publish website | ||
run-name: publish website jobs for ${{ github.ref }} | ||
on: | ||
push: | ||
branches: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
name: release jobs | ||
run-name: release jobs for ${{ github.ref }} | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
|
@@ -287,49 +289,6 @@ jobs: | |
docker buildx imagetools create --tag ${{ env.REGISTRY_IMAGE }}:${{ steps.latest-tag.outputs.tag }} --tag ${{ env.REGISTRY_IMAGE }}:latest $(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *) | ||
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:latest | ||
pub-vscode-extension: | ||
needs: | ||
- check-bump | ||
if: | | ||
always() | ||
&& ( | ||
needs.check-bump.result == 'success' | ||
|| github.event_name == 'workflow_dispatch' | ||
) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: WyriHaximus/[email protected] | ||
id: latest-tag | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
- shell: bash | ||
run: | | ||
cd src/meta-lsp | ||
pnpm install --frozen-lockfile | ||
cd ts-language-server | ||
pnpm install --frozen-lockfile | ||
cd ../vscode-metatype-support | ||
pnpm install --frozen-lockfile | ||
cd .. | ||
pnpm compile:ts-server | ||
pnpm compile:vscode | ||
pnpm vscode:package | ||
# avoid publishing pre-release versions as they don't | ||
# support it | ||
[[ "$(ghjk x version-print)" != *-* ]] \ | ||
&& ([ ${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \ | ||
&& pnpm run vscode:publish -p ${{ secrets.AZURE_DEVOPS_TOKEN }} --skip-duplicate \ | ||
|| pnpm run vscode:publish -p ${{ secrets.AZURE_DEVOPS_TOKEN }}) | ||
- uses: svenstaro/upload-release-action@v2 | ||
with: | ||
tag: ${{ steps.latest-tag.outputs.tag }} | ||
file: "src/meta-lsp/*.vsix" | ||
file_glob: true | ||
overwrite: ${{ inputs.ovewriteArtifacts }} | ||
|
||
bump: | ||
needs: | ||
- pub-meta-cli | ||
|
@@ -352,7 +311,10 @@ jobs: | |
ghjk x version-bump prerelease | ||
echo "version=$(ghjk x version-print)" >> $GITHUB_OUTPUT | ||
git cliff --output CHANGELOG.md | ||
- uses: peter-evans/create-pull-request@v6 | ||
# exclude .ghjk from the changeset to avoid modifying | ||
# the lockfile | ||
git checkout -- .ghjk | ||
- uses: peter-evans/create-pull-request@v7 | ||
with: | ||
branch: bump-${{ steps.bump.outputs.version }} | ||
delete-branch: true | ||
|
@@ -364,4 +326,4 @@ jobs: | |
# on them, we create it as a draft PR | ||
# the actions will then run when it's readied for review | ||
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs | ||
draft: always-true | ||
draft: "always-true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"recommendations": [ | ||
"charliermarsh.ruff", | ||
"rust-lang.rust-analyzer", | ||
"ms-python.black-formatter", | ||
"denoland.vscode-deno", | ||
"ms-vscode-remote.remote-containers", | ||
"dbaeumer.vscode-eslint", | ||
"graphql.vscode-graphql-syntax", | ||
"unifiedjs.vscode-mdx", | ||
"ms-python.vscode-pylance", | ||
"ms-python.python", | ||
"chrischinchilla.vale-vscode", | ||
"hediet.vscode-drawio", | ||
"davidlday.languagetool-linter", | ||
"dtsvet.vscode-wasm", | ||
"bierner.comment-tagged-templates" | ||
] | ||
"recommendations": [ | ||
"charliermarsh.ruff", | ||
"rust-lang.rust-analyzer", | ||
"ms-python.black-formatter", | ||
"denoland.vscode-deno", | ||
"ms-vscode-remote.remote-containers", | ||
"dbaeumer.vscode-eslint", | ||
"graphql.vscode-graphql-syntax", | ||
"unifiedjs.vscode-mdx", | ||
"ms-python.vscode-pylance", | ||
"ms-python.python", | ||
"chrischinchilla.vale-vscode", | ||
"hediet.vscode-drawio", | ||
"davidlday.languagetool-linter", | ||
"dtsvet.vscode-wasm", | ||
"bierner.comment-tagged-templates" | ||
] | ||
} |
Oops, something went wrong.