aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: 76bc0c3acb0025f2b3e193200ff9c0a4beb4d7d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Lint
on: [push, pull_request]
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
    - uses: hecrj/setup-rust-action@v2
      with:
        components: clippy
    - uses: actions/checkout@master
    - name: Install dependencies
      run: |
        export DEBIAN_FRONTED=noninteractive
        sudo apt-get -qq update
        sudo apt-get install -y libxkbcommon-dev
    - name: Check lints
      run: cargo lint