fmt #557
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: CI | |
on: | |
pull_request: | |
paths: | |
- '**.rs' | |
- '**.toml' | |
- '**.yml' | |
push: | |
paths: | |
- '**.rs' | |
- '**.toml' | |
- '**.yml' | |
branches: | |
- '**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install reqs | |
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev | |
- name: Check | |
run: cargo check --workspace --all-features | |
- name: Clippy | |
run: cargo clippy -- -D warnings | |
- name: Fmt | |
run: cargo fmt --check | |
- name: Run tests | |
run: cargo test --verbose |