Update lemna #89
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
# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md | |
# | |
on: [push, pull_request] | |
name: CI | |
jobs: | |
checks: | |
name: Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | Checkout | |
uses: actions/checkout@v3 | |
- name: Install deps | |
run: sudo apt-get install -y libxcursor-dev libasound2-dev libjack-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcb-ewmh-dev | |
- name: Setup | Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
components: rustfmt, clippy | |
override: true | |
- name: Setup | Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Run | check | |
run: cargo check --workspace | |
- name: Run | test | |
run: cargo test --workspace | |
- name: Run | fmt | |
run: cargo fmt --all -- --check | |
- name: Run | clippy | |
run: cargo clippy --workspace -- -D warnings |