Skip to content

Prepare 0.2.1 release (#159) #270

Prepare 0.2.1 release (#159)

Prepare 0.2.1 release (#159) #270

Workflow file for this run

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