Skip to content

Commit

Permalink
Fix rust config
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueCarry committed May 11, 2024
1 parent 0bf0bbe commit 6c4a893
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ jobs:
node-version: 20
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- uses: pnpm/action-setup@v2
with:
version: latest
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- uses: pnpm/action-setup@v4
with:
version: latest
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: latest
- name: install dependencies (ubuntu only)
Expand All @@ -40,8 +40,6 @@ jobs:
workspaces: "src-tauri"

- name: check builds
env:
NODE_OPTIONS: "--max_old_space_size=14096"
run: |
pnpm vite build
cargo check --manifest-path=src-tauri/Cargo.toml -p app

0 comments on commit 6c4a893

Please sign in to comment.