Skip to content

Commit 8086c42

Browse files
committed
fix(ci): attempt to fix CI
1 parent bcd0526 commit 8086c42

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/node.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,12 @@ jobs:
8484
install: true
8585
cache: true
8686
working_directory: crates/node
87-
- name: Install
88-
uses: dtolnay/rust-toolchain@stable
89-
with:
90-
toolchain: stable
91-
targets: ${{ matrix.settings.target }}
87+
- name: Enable Corepack
88+
if: ${{ runner.os == 'Windows' }}
89+
run: corepack enable
90+
shell: bash
91+
- name: Add Rust target
92+
run: rustup target add ${{ matrix.settings.target }}
9293
- name: Cache cargo
9394
uses: actions/cache@v5
9495
with:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,4 +768,5 @@ TSWLatexianTemp*
768768
semicolon_delimited_script
769769
*.pdf
770770
.aider*
771-
.ruff_cache
771+
.ruff_cache
772+
worktrees

crates/node/mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ run = "yarn test"
3333
depends = [":test -u"]
3434

3535
[tasks.ci]
36-
run = 'act napi --container-architecture linux/amd64 --bind --job {{arg(name="job_id")}}'
36+
run = 'mise x act@latest -- act napi --container-architecture linux/amd64 --bind --job {{arg(name="job_id")}}'
3737
hide = true

mise.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ experimental_monorepo_root = true
44
MISE_EXPERIMENTAL = 1
55

66
[tools]
7-
act = "latest"
87
"cargo:cargo-nextest" = "0.9.92"
98
"cargo:cargo-dist" = "0.30.0"
109
"cargo:cargo-insta" = "1.42.2"
@@ -74,5 +73,5 @@ run = "cargo fmt --all -- **/*.rs"
7473
description = "Format all Rust files"
7574

7675
[tasks."ci"]
77-
run = 'act {{arg(name="workflow", default="ci")}} --container-architecture linux/amd64 --bind --job {{arg(name="job_id")}}'
76+
run = 'mise x act@latest -- act {{arg(name="workflow", default="ci")}} --container-architecture linux/amd64 --bind --job {{arg(name="job_id")}}'
7877
hide = true

0 commit comments

Comments
 (0)