Skip to content

Commit 9b9f520

Browse files
authored
chore: bump rust/clippy to 1.88.0 (#229)
2 parents 00c4229 + 0f5c2ec commit 9b9f520

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343

4444
- name: Install toolchain
4545
run: |
46-
rustup toolchain install 1.85.0
47-
rustup default 1.85.0
46+
rustup toolchain install 1.88.0
47+
rustup default 1.88.0
4848
rustup component add clippy
4949
5050
- name: Setup Rust cache

tests/smoke_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ fn input(name: &str) -> String {
8484

8585
async fn test_policy(bundle_name: &str, data: Option<&str>) -> AnyResult<serde_json::Value> {
8686
let input = if let Some(data) = data {
87-
let input_bytes = tokio::fs::read(input(&format!("{}.json", data))).await?;
87+
let input_bytes = tokio::fs::read(input(&format!("{data}.json"))).await?;
8888
serde_json::from_slice(&input_bytes[..])?
8989
} else {
9090
serde_json::Value::Object(serde_json::Map::default())
9191
};
9292
eval_policy(
93-
&bundle(&format!("{}.rego.tar.gz", bundle_name)),
93+
&bundle(&format!("{bundle_name}.rego.tar.gz")),
9494
"fixtures",
9595
&input,
9696
)

0 commit comments

Comments
 (0)