Skip to content

Commit

Permalink
Check dioxus app for any PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
samtay committed Sep 26, 2024
1 parent 8c65c63 commit f52e8ac
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,26 @@ jobs:
- name: Install npm
uses: actions/setup-node@v4

- name: npm install
- name: Install npm deps
working-directory: app
run: npm ci;

# dotenvy requires this
- run: cp .env.example .env

- name: cargo fmt
- name: Format check
run: cargo +nightly fmt --all -- --check

- name: cargo clippy
- name: Lint check
run: cargo +stable clippy --all-features -- -D warnings

- name: Test
run: cargo test

- name: Install Dioxus
# run: cargo binstall [email protected] -y --force
run: cargo install --git https://github.com/DioxusLabs/dioxus.git --rev 87c2f64f134756578f6cf9e12fd085b9bb03c5c7 dioxus-cli --locked

- name: Build app
working-directory: app
run: dx build --platform web --features web

0 comments on commit f52e8ac

Please sign in to comment.