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

CI: upgrade to Rust 1.77.2 and Debian bookworm #34

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]

- 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/[email protected]

- 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.
Loading