Skip to content

Commit

Permalink
Merge pull request #54 from AkiyukiOkayasu/ci
Browse files Browse the repository at this point in the history
update ci
  • Loading branch information
AkiyukiOkayasu authored Aug 16, 2024
2 parents 7bd9fc5 + 9a83968 commit 6b63edf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
toolchain:
- stable
Expand All @@ -35,7 +36,7 @@ jobs:
- name: Build
run: cargo build --verbose
- name: Clippy
run: cargo clippy --all-targets --all-features
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --verbose
- name: Run examples
Expand Down
2 changes: 1 addition & 1 deletion examples/beep_imaadpcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() {
let buf = buffer.as_mut_slice();
match player.get_next_frame(buf) {
Ok(_) => {
for (_ch, sample) in frame.iter_mut().enumerate() {
for sample in frame.iter_mut() {
*sample = buf[0].to_num::<f32>();
}
}
Expand Down

0 comments on commit 6b63edf

Please sign in to comment.