Skip to content

Commit

Permalink
feat(ci): eliminate usage of rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm committed Sep 28, 2024
1 parent 8e32f50 commit 076f452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tauri-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} wasm32-unknown-unknown

- name: Install dependencies (ubuntu only)
if: contains(matrix.platform, 'ubuntu')
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/tauri-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} wasm32-unknown-unknown

- name: Install dependencies (ubuntu only)
if: contains(matrix.platform, 'ubuntu')
Expand Down Expand Up @@ -67,10 +67,6 @@ jobs:
cd src-tauri
cargo clippy -- -D warnings
- name: Install frontend dependencies
run: |
rustup target add wasm32-unknown-unknown
- name: Run tests
run: |
cargo test
Expand Down

0 comments on commit 076f452

Please sign in to comment.