Fixed most of it #11
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
on: [push, pull_request] | |
name: Test | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt update && sudo apt install build-essential llvm libclang-dev libspa-0.2-dev libpipewire-0.3-dev | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
components: clippy | |
default: true | |
toolchain: stable | |
- name: Cache Rust Deps | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cargo | |
key: ${{ runner.os }}-rust | |
- name: Run cargo check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
- name: Run cargo clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
- name: Run cargo test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test |