summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: 4647a07c494f4438091cdb2cd13000449c7762ce (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 libgtk-3-dev
    - name: Check lints
      run: cargo lint