Skip to content

Commit

Permalink
Merge pull request #11 from sevonj/sevonj-patch-1
Browse files Browse the repository at this point in the history
Continuous Integration
  • Loading branch information
sevonj authored Sep 25, 2024
2 parents d76b167 + 2793851 commit 37d0dda
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Rust

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
static-checks:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Format check
run: cargo fmt -v --check

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt install -y libasound2-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Clippy
run: cargo clippy --no-deps -- --deny warnings

0 comments on commit 37d0dda

Please sign in to comment.