Skip to content

Fix invalid slice conversion #267

Fix invalid slice conversion

Fix invalid slice conversion #267

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