Merge pull request #117 from tigerros/master #19
Workflow file for this run
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: | |
- master | |
paths: | |
- examples/** | |
- docs_src/** | |
- src/** | |
- .github/** | |
- lib.rs | |
- Cargo.toml | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- master | |
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: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v1 | |
- uses: actions/checkout@v2 | |
- 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 |