small mobile fixes #275
This file contains 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: check examples | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- examples/** | |
- docs_src/** | |
- src/** | |
- .github/** | |
- lib.rs | |
- Cargo.toml | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- main | |
paths: | |
- examples/** | |
- docs_src/** | |
- src/** | |
- .github/** | |
- lib.rs | |
- Cargo.toml | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
env: | |
CARGO_INCREMENTAL: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-all-crates: "true" | |
cache-on-failure: "true" | |
- run: sudo apt-get update | |
- run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev | |
- name: Check | |
run: cargo check --features doc_test |