Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/all_components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,18 @@ jobs:
with:
cache-all-crates: "true"
cache-on-failure: "false"
- uses: cargo-bins/cargo-binstall@main
- name: Install CLI
run: cargo install dioxus-cli --git https://github.com/DioxusLabs/dioxus
run: cargo binstall dioxus-cli -y --force --version 0.7.0
- name: Add components and check
run: |
cd test-harness
# Add dependencies manually; TODO: remove this once dx components supports local dependencies
dx components add calendar,popover --path ..
# Add all components
dx components add --all --path .. --force
# Switch to the local version of dioxus-primitives
cargo add dioxus-primitives --path ../primitives
# Make sure it still builds
cargo check --all-features
add-each-component:
Expand All @@ -86,8 +89,9 @@ jobs:
with:
cache-all-crates: "true"
cache-on-failure: "false"
- uses: cargo-bins/cargo-binstall@main
- name: Install CLI
run: cargo install dioxus-cli --git https://github.com/DioxusLabs/dioxus
run: cargo binstall dioxus-cli -y --force --version 0.7.0
- name: Add each component and check
run: |
cd preview/src/components/
Expand All @@ -105,6 +109,8 @@ jobs:
fi
# Add the component
dx components add "$file" --path ..
# Switch to the local version of dioxus-primitives
cargo add dioxus-primitives --path ../primitives
# Make sure it still builds
cargo check --all-features
# Undo changes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
cache-on-failure: "false"
- uses: cargo-bins/cargo-binstall@main
- name: Install CLI
run: cargo binstall dioxus-cli -y --force --version 0.7.0-rc.3
run: cargo binstall dioxus-cli -y --force --version 0.7.0
- name: Build
run: cd preview && dx build --web --release --base-path "components"
- name: Copy output
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
cache-on-failure: "true"
- uses: cargo-bins/cargo-binstall@main
- name: Install CLI
run: cargo binstall dioxus-cli -y --force --version 0.7.0-rc.3
run: cargo binstall dioxus-cli -y --force --version 0.7.0
- name: Install dependencies
run: cd ./playwright && npm ci
- name: Install Playwright Browsers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
cache-on-failure: "false"
- uses: cargo-bins/cargo-binstall@main
- name: Install CLI
run: cargo binstall dioxus-cli -y --force --version 0.7.0-rc.3
run: cargo binstall dioxus-cli -y --force --version 0.7.0
- name: Build
run: cd preview && dx build --web --release --base-path "components/pr-preview/pr-${{ github.event.pull_request.number }}/"
- name: Copy output
Expand Down
Loading
Loading