Skip to content

Commit

Permalink
ci: migrate ubuntu-latest to ubuntu-24.04 (#23)
Browse files Browse the repository at this point in the history
* ci: migrate ubuntu-latest to ubuntu-24.04

* lint
  • Loading branch information
nh13 authored Dec 4, 2024
1 parent 6d0312c commit e62ac05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
jobs:
check:
name: Check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand All @@ -30,7 +30,7 @@ jobs:

lints:
name: Lints
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand Down Expand Up @@ -79,4 +79,4 @@ jobs:
uses: Swatinem/rust-cache@v1

- name: Run tests
run: cargo test --verbose
run: cargo test --verbose
2 changes: 1 addition & 1 deletion src/commands/count.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ struct CountStats {
zero_read_guides: u64,
}

impl<'a> CountResult<'a> {
impl CountResult<'_> {
/// Returns the total number of reads that mapped to a guide.
pub fn mapped_reads(&self) -> u64 {
self.counts.values().sum()
Expand Down

0 comments on commit e62ac05

Please sign in to comment.