tangled
alpha
login
or
join now
sachy.dev
/
nailpit
4
fork
atom
A pit full of rusty nails
4
fork
atom
overview
issues
1
pulls
pipelines
chore: Create CI pipeline
sachy.dev
3 months ago
1de68ff5
1962c0c7
1/1
test.yml
success
2min 56s
+19
-1
2 changed files
expand all
collapse all
unified
split
.tangled
workflows
test.yml
crates
nailrater
src
lib.rs
+17
.tangled/workflows/test.yml
···
1
1
+
when:
2
2
+
- event: ["push", "pull_request"]
3
3
+
branch: main
4
4
+
5
5
+
engine: nixery
6
6
+
7
7
+
dependencies:
8
8
+
nixpkgs:
9
9
+
- clang
10
10
+
- cargo
11
11
+
- clippy
12
12
+
13
13
+
steps:
14
14
+
- name: Clippy
15
15
+
command: cargo clippy --locked --workspace --all-features --all-targets -- -Dwarnings
16
16
+
- name: Tests
17
17
+
command: cargo test --workspace
+2
-1
crates/nailrater/src/lib.rs
···
120
120
self.mode.clone(),
121
121
req,
122
122
ready_inner,
123
123
-
).instrument(tracing::info_span!("rate_peer"))
123
123
+
)
124
124
+
.instrument(tracing::info_span!("rate_peer"))
124
125
}
125
126
}