Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
CI: upgrade to Rust 1.77.2 and Debian bookworm (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello committed May 3, 2024
1 parent f7e02cc commit e2ce466
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
- uses: actions/checkout@v3

- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
uses: dtolnay/rust-toolchain@1.77

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -52,9 +50,7 @@ jobs:
echo "127.0.0.1 kafka" | sudo tee -a /etc/hosts
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
uses: dtolnay/rust-toolchain@1.77

- uses: actions/cache@v3
with:
Expand All @@ -73,10 +69,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install latest rust
uses: dtolnay/rust-toolchain@master
- name: Install rust
uses: dtolnay/rust-toolchain@1.77
with:
toolchain: stable
components: clippy,rustfmt

- uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/lukemathwalker/cargo-chef:latest-rust-1.74.0-buster AS chef
FROM docker.io/lukemathwalker/cargo-chef:latest-rust-1.77-bookworm AS chef
ARG BIN
WORKDIR /app

Expand All @@ -20,7 +20,7 @@ RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
RUN cargo build --release --bin $BIN

FROM debian:bullseye-20230320-slim AS runtime
FROM debian:bookworm-slim AS runtime

RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand Down
Empty file added hook-worker/src/dns.rs
Empty file.

0 comments on commit e2ce466

Please sign in to comment.