Add key bindings to readme #46
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: Rust | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Prepare | |
run: | | |
sudo apt update | |
sudo apt install libasound2-dev libxcursor-dev | |
- name: fmt (stable) | |
run: cargo fmt --check | |
- name: Build (stable) | |
run: cargo build --verbose | |
- name: Build examples (stable) | |
run: cargo build --verbose --examples | |
- name: Clippy (stable) | |
run: cargo clippy --workspace --examples --tests --benches | |
- name: Test (stable) | |
run: cargo test --verbose | |
- name: Install nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- name: Build (nightly) | |
run: cargo build --verbose | |
- name: Build examples (nightly) | |
run: cargo build --verbose --examples | |
- name: Test (nightly) | |
run: cargo test --verbose |