Skip to content

Commit

Permalink
Merge pull request #2 from base/require-1.85
Browse files Browse the repository at this point in the history
chore: require 1.85
  • Loading branch information
danyalprout authored Feb 24, 2025
2 parents 6b7f093 + b8e2dfd commit 6ffe679
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ "main" ]
branches: [ "master" ]
pull_request:
branches: [ "main" ]
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -67,4 +67,4 @@ jobs:
context: .
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "flashblocks-websocket-proxy"
version = "0.1.0"
edition = "2021"
rust-version = "1.85"

[dependencies]
tokio = { version = "1.28", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ WORKDIR /app
ARG BINARY="flashblocks-websocket-proxy"
COPY --from=builder /app/target/release/${BINARY} /usr/local/bin/

ENTRYPOINT ["/usr/local/bin/flashblocks-websocket-proxy"]
ENTRYPOINT ["/usr/local/bin/flashblocks-websocket-proxy"]
6 changes: 4 additions & 2 deletions src/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ mod test {
harness.send_messages(vec!["six"]);
harness.wait_for_messages_to_drain().await;


assert_eq!(
vec!["one", "two", "three", "four", "five", "six"],
harness.messages_for_client(client_one)
Expand All @@ -301,6 +300,9 @@ mod test {
vec!["one", "two"],
harness.messages_for_client(client_three)
);
assert_eq!(vec!["five", "six"], harness.messages_for_client(client_four));
assert_eq!(
vec!["five", "six"],
harness.messages_for_client(client_four)
);
}
}

0 comments on commit 6ffe679

Please sign in to comment.