Skip to content

Commit

Permalink
chore: bump to rust 1.80 (#305)
Browse files Browse the repository at this point in the history
* chore: bump to rust 1.80

Signed-off-by: Gustavo Inacio <[email protected]>

* chore: fix clippy

Signed-off-by: Gustavo Inacio <[email protected]>

---------

Signed-off-by: Gustavo Inacio <[email protected]>
  • Loading branch information
gusinacio authored Aug 26, 2024
1 parent 99b4dbe commit 55d26f7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: cargo fmt
runs-on: ubuntu-latest
container:
image: rust:1.76-bookworm
image: rust:1.80-bookworm
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- run: |
Expand All @@ -34,7 +34,7 @@ jobs:
ports:
- 5432:5432
container:
image: rust:1.76-bookworm
image: rust:1.80-bookworm
env:
DATABASE_URL: postgres://postgres@postgres:5432
steps:
Expand All @@ -61,7 +61,7 @@ jobs:
name: cargo clippy
runs-on: ubuntu-latest
container:
image: rust:1.76-bookworm
image: rust:1.80-bookworm
env:
DATABASE_URL: postgres://postgres@postgres:5432
SQLX_OFFLINE: true
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
ports:
- 5432:5432
container:
image: rust:1.76-bookworm
image: rust:1.80-bookworm
env:
DATABASE_URL: postgres://postgres@postgres:5432
steps:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
ports:
- 5432:5432
container:
image: rust:1.76-bookworm
image: rust:1.80-bookworm
env:
DATABASE_URL: postgres://postgres@postgres:5432
steps:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.indexer-service-rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.76-bookworm as build
FROM rust:1.80-bookworm as build

WORKDIR /root
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.indexer-tap-agent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.76-bookworm as build
FROM rust:1.80-bookworm as build

WORKDIR /root
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion tap-agent/src/agent/sender_allocation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ pub mod tests {
// Add receipts to the database.
for i in 0..10 {
let receipt =
create_received_receipt(&ALLOCATION_ID_0, &SIGNER.0, i, u64::max_value(), i.into());
create_received_receipt(&ALLOCATION_ID_0, &SIGNER.0, i, u64::MAX, i.into());
store_receipt(&pgpool, receipt.signed_receipt())
.await
.unwrap();
Expand Down

0 comments on commit 55d26f7

Please sign in to comment.