Skip to content

Fix clippy warnings

Fix clippy warnings #5

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Install latest stable rustc
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install nightly rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: false
components: rustfmt
- name: Install x11 deps
run: sudo apt update && sudo apt install xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev
- name: Checkout repository
uses: actions/checkout@v2
- name: Run checks
run: ./scripts/check
- name: Build
run: ./scripts/build