Use main branch of libcosmic #211
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push, pull_request] | |
jobs: | |
all: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
components: clippy | |
- uses: actions/checkout@master | |
- name: Install cargo-deb | |
run: cargo install cargo-deb | |
- 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 iced | |
run: cargo clippy --workspace --no-default-features --features=once_cell --all-targets --no-deps -- -D warnings | |
- name: Check lints wayland-libcosmic | |
run: cargo clippy --no-default-features --features=wayland-libcosmic --all-targets --no-deps -- -D warnings | |
- name: Check lints winit-libcosmic | |
run: cargo clippy --no-default-features --features=winit-libcosmic --all-targets --no-deps -- -D warnings |