Skip to content

Commit 15d7cbe

Browse files
committed
fix: avoid use of setup-ghjk
1 parent 8fb0f67 commit 15d7cbe

File tree

3 files changed

+50
-14
lines changed

3 files changed

+50
-14
lines changed

.github/workflows/publish-website.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v4
32-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
32+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
33+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
34+
- run: echo "~/.local/bin" >> $GITHUB_PATH
35+
- run: ghjk envs cook
36+
3337
- uses: actions/cache@v4
3438
with:
3539
path: .venv

.github/workflows/release.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ jobs:
3434
- uses: WyriHaximus/[email protected]
3535
id: latest-tag
3636
- uses: kenji-miyake/setup-git-cliff@v2
37-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
37+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
38+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
39+
- run: echo "~/.local/bin" >> $GITHUB_PATH
40+
- run: ghjk envs cook
41+
3842
- shell: bash
3943
run: |
4044
VERSION=$(ghjk x version-print)
@@ -97,7 +101,11 @@ jobs:
97101
with:
98102
fetch-depth: 0
99103
# some targets don't use cross so will require the deps in the host
100-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
104+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
105+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
106+
- run: echo "~/.local/bin" >> $GITHUB_PATH
107+
- run: ghjk envs cook
108+
101109
- uses: WyriHaximus/[email protected]
102110
id: latest-tag
103111
- uses: dsherret/rust-toolchain-file@v1
@@ -172,7 +180,11 @@ jobs:
172180
id: latest-tag
173181
- uses: dsherret/rust-toolchain-file@v1
174182
- uses: mozilla-actions/[email protected]
175-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
183+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
184+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
185+
- run: echo "~/.local/bin" >> $GITHUB_PATH
186+
- run: ghjk envs cook
187+
176188
- shell: bash
177189
env:
178190
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
@@ -305,7 +317,11 @@ jobs:
305317
fetch-depth: 0
306318
- uses: dsherret/rust-toolchain-file@v1
307319
- uses: kenji-miyake/setup-git-cliff@v2
308-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
320+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
321+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
322+
- run: echo "~/.local/bin" >> $GITHUB_PATH
323+
- run: ghjk envs cook
324+
309325
- id: bump
310326
run: |
311327
ghjk x version-bump prerelease

.github/workflows/tests.yml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ jobs:
8888
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
8989
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
9090
uses: mozilla-actions/[email protected]
91-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
91+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
92+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
93+
- run: echo "~/.local/bin" >> $GITHUB_PATH
94+
- run: ghjk envs cook
95+
9296
- shell: bash
9397
run: |
9498
sudo apt update && sudo apt install -y --no-install-recommends libclang-dev clang
@@ -131,10 +135,14 @@ jobs:
131135
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
132136
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
133137
uses: mozilla-actions/[email protected]
134-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
135-
with:
136-
# temporary fix
137-
cache-key-prefix: ${{ matrix.os }}
138+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
139+
# with:
140+
# # temporary fix
141+
# cache-key-prefix: ${{ matrix.os }}
142+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
143+
- run: echo "~/.local/bin" >> $GITHUB_PATH
144+
- run: ghjk envs cook
145+
138146
- if: ${{ matrix.cross }}
139147
shell: bash
140148
env:
@@ -158,7 +166,11 @@ jobs:
158166
# with:
159167
# path: ${{ env.DENO_DIR }}
160168
# key: deno-mac-${{ hashFiles('**/deno.lock') }}
161-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
169+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
170+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
171+
- run: echo "~/.local/bin" >> $GITHUB_PATH
172+
- run: ghjk envs cook
173+
162174
- name: Cache .venv dir
163175
uses: actions/cache@v4
164176
with:
@@ -263,9 +275,13 @@ jobs:
263275
- run: |
264276
sudo apt update
265277
sudo apt install -y --no-install-recommends zstd
266-
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
267-
with:
268-
cache-disable: true
278+
# - uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
279+
# with:
280+
# cache-disable: true
281+
- run: curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
282+
- run: echo "~/.local/bin" >> $GITHUB_PATH
283+
- run: ghjk envs cook
284+
269285
- shell: bash
270286
run: |
271287
# the big run

0 commit comments

Comments
 (0)