Skip to content

Commit

Permalink
Update rust & wasm-pack
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Dec 20, 2024
1 parent c51e146 commit c2e869b
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 26 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ jobs:
with:
cache-on-failure: true

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
profile: minimal
override: true
- name: Install rust
run: |
rustup set profile minimal
rustup toolchain install
- name: Install targets
run: make targets-ios
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
profile: minimal
override: true

- name: Install rust
run: |
rustup set profile minimal
rustup toolchain install
- name: Install targets
run: make targets-ios
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set Version
run: rustup default 1.76
- name: Install rust
run: |
rustup set profile minimal
rustup toolchain install
- name: Set Component
run: rustup component add rustfmt clippy
- name: Format
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set Version
run: rustup default 1.76
- name: Install rust
run: |
rustup set profile minimal
rustup toolchain install
- name: Install `wasm-pack`
run: cargo install wasm-pack
- name: Test the `wysiwyg` crate
Expand Down
15 changes: 8 additions & 7 deletions bindings/wysiwyg-wasm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/wysiwyg-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"pkg/wysiwyg.d.ts"
],
"devDependencies": {
"wasm-pack": "^0.13.0",
"wasm-pack": "^0.13.1",
"jest": "^28.1.0",
"typedoc": "^0.26.0"
},
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.76"
channel = "1.83"
components = ["rustfmt"]

0 comments on commit c2e869b

Please sign in to comment.