Skip to content

Commit

Permalink
Shuffle Rust installation in CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Jan 19, 2025
1 parent f5be929 commit 08ae54a
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@ jobs:
default: true
components: rustfmt, clippy

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: beta
target: ${{ matrix.target }}
override: true
default: true
components: rustfmt, clippy

- name: Set up python 3.12
uses: actions/setup-python@v5
with:
Expand All @@ -88,14 +79,28 @@ jobs:
with:
version: ${{env.WASM_PACK_VERSION}}

- name: Build Coupled JS
working-directory: ./pagefind_web_js
run: npm i && npm run build-coupled

- name: Build WASM
working-directory: ./pagefind_web
run: ./local_build.sh

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: beta
target: ${{ matrix.target }}
override: true
default: true
components: rustfmt, clippy

- name: Check versions
run: |
cargo --version
rustc --version
- name: Build Coupled JS
working-directory: ./pagefind_web_js
run: npm i && npm run build-coupled

- name: Build UI
working-directory: ./pagefind_ui/default
run: npm i && npm run build
Expand Down

0 comments on commit 08ae54a

Please sign in to comment.