Skip to content

Commit a1a3258

Browse files
author
Derek
committed
fix: clippy approx_constant lint and standardise release runner
1 parent 404db9d commit a1a3258

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333

3434
jobs:
3535
release:
36-
runs-on: buildjet-32vcpu-ubuntu-2204
36+
runs-on: ${{ vars.GH_RUNNER_DEFAULT || 'ubuntu-latest' }}
3737
steps:
3838
- uses: actions/checkout@v4
3939
with:

src/transport/vector_compat/convert.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ mod tests {
160160
#[test]
161161
fn convert_float_value() {
162162
let v = event::Value {
163-
kind: Some(event::value::Kind::Float(3.14)),
163+
kind: Some(event::value::Kind::Float(2.718)),
164164
};
165-
assert_eq!(vector_value_to_json(&v), serde_json::json!(3.14));
165+
assert_eq!(vector_value_to_json(&v), serde_json::json!(2.718));
166166
}
167167

168168
#[test]

0 commit comments

Comments
 (0)