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

chore: update deno to v2.1.2 #923

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
101 changes: 54 additions & 47 deletions .ghjk/lock.json

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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

- uses: actions/cache@v4
with:
path: .venv
Expand Down
30 changes: 26 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ jobs:
- uses: WyriHaximus/github-action-get-previous-tag@v1.4.0
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)
Expand Down Expand Up @@ -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/github-action-get-previous-tag@v1.4.0
id: latest-tag
- uses: dsherret/rust-toolchain-file@v1
Expand Down Expand Up @@ -172,7 +182,13 @@ jobs:
id: latest-tag
- uses: dsherret/rust-toolchain-file@v1
- uses: mozilla-actions/sccache-action@v0.0.6
- 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 }}
Expand Down Expand Up @@ -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
Expand Down
43 changes: 34 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ concurrency:

env:
GHJK_VERSION: "v0.2.1"
GHJK_LOG: "debug"
GHJK_ENV: "ci"
RUST_BACKTRACE: "full"
DENO_DIR: deno-dir
Expand Down Expand Up @@ -87,7 +88,13 @@ jobs:
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
uses: mozilla-actions/sccache-action@v0.0.6
- 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
Expand Down Expand Up @@ -130,10 +137,16 @@ jobs:
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
uses: mozilla-actions/sccache-action@v0.0.6
- 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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down
Loading
Loading