Skip to content

Commit

Permalink
ci: fixup clippy and semver
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Dec 2, 2024
1 parent a90ca3e commit ba75f26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
# uses: obi1kenobi/cargo-semver-checks-action@v2
uses: n0-computer/cargo-semver-checks-action@feat-baseline
with:
package: iroh-gossip
package: iroh-metrics
baseline-rev: ${{ env.HEAD_COMMIT_SHA }}
use-cache: false

Expand Down Expand Up @@ -276,4 +276,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: pip install --user codespell[toml]
- run: codespell --ignore-words-list=ans,atmost,crate,inout,ratatui,ser,stayin,swarmin,worl --skip=CHANGELOG.md
- run: codespell --ignore-words-list=ans,atmost,crate,inout,ratatui,ser,stayin,swarmin,worl --skip=CHANGELOG.md
1 change: 1 addition & 0 deletions src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ impl Core {
}

/// Trieds to init the metrics.
#[cfg_attr(not(feature = "metrics"), allow(clippy::let_unit_value))]
pub fn try_init<F: FnOnce(&mut Registry, &mut ErasedSyncSet)>(f: F) -> std::io::Result<()> {
let mut registry = Registry::default();
let mut metrics_map = ErasedSyncSet::new();
Expand Down

0 comments on commit ba75f26

Please sign in to comment.