From 028446efc3346deffec7fec6c144cab6322eb830 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 8 Feb 2024 16:44:28 +0100 Subject: [PATCH] pin rust to 1.75.0 --- .github/workflows/backend-test.yml | 6 ++++-- Dockerfile | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-test.yml b/.github/workflows/backend-test.yml index eaf81a9576..043889542a 100644 --- a/.github/workflows/backend-test.yml +++ b/.github/workflows/backend-test.yml @@ -31,6 +31,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: 1.75.0 # - uses: Swatinem/rust-cache@v2 # with: # workspaces: | @@ -42,5 +44,5 @@ jobs: mkdir frontend/build && cd backend && touch windmill-api/openapi-deref.yaml && DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill - DISABLE_EMBEDDING=true RUST_LOG=info cargo test --features enterprise --all -- - --nocapture + DISABLE_EMBEDDING=true RUST_LOG=info cargo test --features enterprise + --all -- --nocapture diff --git a/Dockerfile b/Dockerfile index a584b27def..04cae30228 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG DEBIAN_IMAGE=debian:bookworm-slim -ARG RUST_IMAGE=rust:slim-bookworm +ARG RUST_IMAGE=rust:1.75-slim-bookworm ARG PYTHON_IMAGE=python:3.11.4-slim-bookworm FROM ${DEBIAN_IMAGE} as nsjail