Skip to content

chore(deps): Dioxus 0.6.0 #85

chore(deps): Dioxus 0.6.0

chore(deps): Dioxus 0.6.0 #85

Workflow file for this run

name: CI
env:
CARGO_TERM_COLOR: always
DIOXUS_VERSION: 0.6.0
on:
push:
branches:
- main
pull_request: {}
workflow_dispatch: null
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- name: Check
run: cargo clippy --all-targets --all-features -- -D warnings
- name: rustfmt
run: cargo fmt --all --check
check-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: cargo doc
env:
RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests"
run: cargo doc --all-features --no-deps
test-versions:
needs: check
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features --all-targets
dioxus:
needs: test-versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- name: Setup cargo-binstall
uses: cargo-bins/[email protected]
- name: Install Dioxus
run: cargo binstall dioxus-cli@${{ env.DIOXUS_VERSION }} --force --no-confirm
- name: Build app
run: dx build