Repository navigation
Fix default font selection #299
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: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install sysdeps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install libxkbcommon-dev | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| components: rustfmt, clippy | |
| - name: Build | |
| run: | | |
| cargo build --verbose | |
| - name: Check format | |
| run: cargo fmt -- --check | |
| - name: Lint | |
| run: cargo clippy -- -D warnings | |
| - name: Run tests | |
| run: cargo test --verbose |