Skip to content

Commit

Permalink
chore: modify CI script for checking all prs
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Sep 5, 2023
1 parent 7f8d063 commit d4aca79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -17,7 +16,7 @@ jobs:
- name: Rustfmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all
run: cargo clippy --workspace --all-targets -- -D clippy::all -D clippy::nursery
build:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion core/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ mod tests {
continue;
}
let next_multiple = x + 32 - (x % 32);
assert_eq!(Some(next_multiple), next_multiple_of_32(x.into()));
assert_eq!(Some(next_multiple), next_multiple_of_32(x));
}

// next_multiple_of_32 returns None when the next multiple of 32 is too big
Expand Down

0 comments on commit d4aca79

Please sign in to comment.