Skip to content

Commit

Permalink
chore: Updated dependencies. (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragostis authored Nov 7, 2023
1 parent a0726f2 commit 5a76fc3
Show file tree
Hide file tree
Showing 9 changed files with 266 additions and 262 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Continuous integration

on:
push:
pull_request:

jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- uses: Swatinem/rust-cache@v2
- run: sudo apt install -y libasound2-dev libudev-dev
- run: cargo check --all

test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- uses: Swatinem/rust-cache@v2
- run: sudo apt install -y libasound2-dev libudev-dev
- run: cargo test --all

fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
components: rustfmt
- run: cargo fmt --all -- --check

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: sudo apt install -y libasound2-dev libudev-dev
- run: cargo clippy --all -- -D warnings -A clippy::type-complexity
Loading

0 comments on commit 5a76fc3

Please sign in to comment.