This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
Bump enigo to 0.2.0 #11
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
on: | |
pull_request: | |
name: Linux CI | |
jobs: | |
check: | |
name: Compile and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install gtk3 and dependencies. | |
run: | | |
sudo apt update | |
sudo apt install \ | |
libgtk-3-dev \ | |
libxdo-dev | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Check Code | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
- name: Install Clippy | |
run: rustup component add clippy | |
- name: Run Clippy | |
run: cargo clippy --all-targets -- -D warnings -A unknown-lints | |
- name: Run headless test | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: cargo test -- --test-threads=1 |