-
Notifications
You must be signed in to change notification settings - Fork 13
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
chore: update deno to v2.1.2 #923
Open
Yohe-Am
wants to merge
8
commits into
main
Choose a base branch
from
chore/deno-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f31f83d
chore: update deno to v2.0.6
Yohe-Am 8fb0f67
chore: update deno to v2.1.2
Yohe-Am 15d7cbe
fix: avoid use of setup-ghjk
Yohe-Am cb807a0
fix: ci
Yohe-Am 7d2be27
Merge branch 'main' into chore/deno-2
Yohe-Am 2acaff7
fix: remove bad dep
Yohe-Am cd7db98
fix: formatting
Yohe-Am b924886
fix: wip
Yohe-Am File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -34,7 +34,13 @@ jobs: | |
- uses: WyriHaximus/[email protected] | ||
id: latest-tag | ||
- uses: kenji-miyake/setup-git-cliff@v2 | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
|
||
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
- run: curl -fsSL "https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh" | bash | ||
- run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" | ||
- run: echo "BASH_ENV=$HOME/.local/share/ghjk/env.sh" >> "$GITHUB_ENV" | ||
- run: ghjk envs cook | ||
|
||
- shell: bash | ||
run: | | ||
VERSION=$(ghjk x version-print) | ||
|
@@ -52,7 +58,7 @@ jobs: | |
makeLatest: true | ||
bodyFile: "CHANGE.md" | ||
discussionCategory: "Announcements" | ||
prerelease: ${{ contains(steps.latest-tag.outputs.tag, 'dev') || contains(steps.latest-tag.outputs.tag, 'alpha') }} | ||
prerelease: ${{ contains(steps.latest-tag.outputs.tag, 'dev') || contains(steps.latest-tag.outputs.tag, 'rc') }} | ||
|
||
pub-meta-cli: | ||
needs: | ||
|
@@ -97,7 +103,11 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
# some targets don't use cross so will require the deps in the host | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
- run: curl -fsSL "https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh" | bash | ||
- run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" | ||
- run: echo "BASH_ENV=$HOME/.local/share/ghjk/env.sh" >> "$GITHUB_ENV" | ||
- run: ghjk envs cook | ||
|
||
- uses: WyriHaximus/[email protected] | ||
id: latest-tag | ||
- uses: dsherret/rust-toolchain-file@v1 | ||
|
@@ -172,7 +182,13 @@ jobs: | |
id: latest-tag | ||
- uses: dsherret/rust-toolchain-file@v1 | ||
- uses: mozilla-actions/[email protected] | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
|
||
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
- run: curl -fsSL "https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh" | bash | ||
- run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" | ||
- run: echo "BASH_ENV=$HOME/.local/share/ghjk/env.sh" >> "$GITHUB_ENV" | ||
- run: ghjk envs cook | ||
|
||
- shell: bash | ||
env: | ||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }} | ||
|
@@ -305,7 +321,13 @@ jobs: | |
fetch-depth: 0 | ||
- uses: dsherret/rust-toolchain-file@v1 | ||
- uses: kenji-miyake/setup-git-cliff@v2 | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
|
||
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
- run: curl -fsSL "https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh" | bash | ||
- run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" | ||
- run: echo "BASH_ENV=$HOME/.local/share/ghjk/env.sh" >> "$GITHUB_ENV" | ||
- run: ghjk envs cook | ||
|
||
- id: bump | ||
run: | | ||
ghjk x version-bump prerelease | ||
|
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 |
---|---|---|
|
@@ -29,6 +29,7 @@ concurrency: | |
|
||
env: | ||
GHJK_VERSION: "v0.2.1" | ||
# GHJK_LOG: "debug" | ||
GHJK_ENV: "ci" | ||
RUST_BACKTRACE: "full" | ||
DENO_DIR: deno-dir | ||
|
@@ -87,7 +88,13 @@ jobs: | |
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | ||
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }} | ||
uses: mozilla-actions/[email protected] | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
|
||
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
- run: curl -fsSL "https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh" | bash | ||
- run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" | ||
- run: echo "BASH_ENV=$HOME/.local/share/ghjk/env.sh" >> "$GITHUB_ENV" | ||
- run: ghjk envs cook | ||
|
||
- shell: bash | ||
run: | | ||
sudo apt update && sudo apt install -y --no-install-recommends libclang-dev clang | ||
|
@@ -130,10 +137,16 @@ jobs: | |
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | ||
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }} | ||
uses: mozilla-actions/[email protected] | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
with: | ||
# temporary fix | ||
cache-key-prefix: ${{ matrix.os }} | ||
|
||
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
# with: | ||
# # temporary fix | ||
# cache-key-prefix: ${{ matrix.os }} | ||
- run: curl -fsSL "https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh" | bash | ||
- run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" | ||
- run: echo "BASH_ENV=$HOME/.local/share/ghjk/env.sh" >> "$GITHUB_ENV" | ||
- run: ghjk envs cook | ||
|
||
- if: ${{ matrix.cross }} | ||
shell: bash | ||
env: | ||
|
@@ -157,7 +170,13 @@ jobs: | |
# with: | ||
# path: ${{ env.DENO_DIR }} | ||
# key: deno-mac-${{ hashFiles('**/deno.lock') }} | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
|
||
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
- run: curl -fsSL "https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh" | bash | ||
- run: echo "~/.local/bin" >> $GITHUB_PATH | ||
- run: echo "BASH_ENV=~/.local/share/ghjk/env.sh" >> $GITHUB_ENV | ||
- run: ghjk envs cook | ||
|
||
- name: Cache .venv dir | ||
uses: actions/cache@v4 | ||
with: | ||
|
@@ -262,9 +281,15 @@ jobs: | |
- run: | | ||
sudo apt update | ||
sudo apt install -y --no-install-recommends zstd | ||
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
with: | ||
cache-disable: true | ||
|
||
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc | ||
# with: | ||
# cache-disable: true | ||
- run: curl -fsSL "https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh" | bash | ||
- run: echo "~/.local/bin" >> $GITHUB_PATH | ||
- run: echo "BASH_ENV=~/.local/share/ghjk/env.sh" >> $GITHUB_ENV | ||
- run: ghjk envs cook | ||
|
||
- shell: bash | ||
run: | | ||
# the big run | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Installation script URL needs to be updated to use raw.githubusercontent.com
The installation commands are secure, but there's an issue with the URL domain that needs to be fixed:
raw.github.com
which should beraw.githubusercontent.com
Please update the curl command to use the correct domain:
🔗 Analysis chain
LGTM! Installation commands look secure.
The installation commands are properly quoted and use environment variables correctly.
Let's verify the installation script's availability and integrity:
The previous attempt failed because:
Let's verify these aspects first.
The previous findings show:
Let's verify the script contents with the correct URL and version.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 90
Script:
Length of output: 2632
Script:
Length of output: 956