Skip to content

Commit

Permalink
ci: Nightly job + toolchain update (#75)
Browse files Browse the repository at this point in the history
* ci: add nightly job for unused deps & rust version

* chore: bump rust toolchain
  • Loading branch information
huitseeker authored Jan 25, 2024
1 parent d5953a8 commit 6264c8b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Nightly sanity checks
name: nightly

on:
workflow_dispatch: {}
# Once per day at 00:00 UTC
schedule:
- cron: "0 0 * * *"

env:
CARGO_TERM_COLOR: always

jobs:
unused-dependencies:
uses: lurk-lab/ci-workflows/.github/workflows/unused-deps.yml@main

rust-version-check:
uses: lurk-lab/ci-workflows/.github/workflows/rust-version-check.yml@main
1 change: 1 addition & 0 deletions crates/bellpepper-core/src/lc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ impl<T> Indexer<T> {
}

pub fn iter(&self) -> impl Iterator<Item = (&usize, &T)> + '_ {
#[allow(clippy::map_identity)]
self.values.iter().map(|(key, value)| (key, value))
}

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
# The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy.
profile = "default"
channel = "1.73"
channel = "1.75"

0 comments on commit 6264c8b

Please sign in to comment.