Loutre v3.0-beta.1 #103
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: Cargo build & test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rust: | |
| - stable | |
| - beta | |
| - nightly | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Install Dioxus desktop dependencies | |
| run: sudo apt update && sudo apt install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev | |
| - name: Install Rust ${{ matrix.rust }} | |
| run: rustup toolchain install ${{ matrix.rust }} | |
| - name: Run cargo build | |
| run: cargo +${{ matrix.rust }} build --verbose | |
| - name: Run cargo test | |
| run: cargo +${{ matrix.rust }} test --verbose | |
| formatting: | |
| name: Cargo fmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Update Rust | |
| run: rustup update stable | |
| - name: Run cargo fmt | |
| run: cargo +stable fmt --all -- --check | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Install Dioxus desktop dependencies | |
| run: sudo apt update && sudo apt install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev | |
| - name: Update Rust | |
| run: rustup update stable | |
| - name: Run clippy | |
| run: cargo +stable clippy --all-features | |
| cargo-deny: | |
| name: Cargo deny | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - uses: EmbarkStudios/cargo-deny-action@v2 |