Skip to content

Re-add used imports #167

Re-add used imports

Re-add used imports #167

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: |
sudo apt-get update
sudo apt-get install -y -qq webkit2gtk-4.1 libxdo-dev
- uses: Swatinem/rust-cache@v2
- run: cargo test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: |
sudo apt-get update
sudo apt-get install -y -qq webkit2gtk-4.1 libxdo-dev
- uses: Swatinem/rust-cache@v2
- run: cargo clippy -- -D warnings