From c6e06da61124ef15d4cacbb19790a32972d03274 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 17 Dec 2024 15:44:19 +0100 Subject: [PATCH] all --- .github/DockerfileBackendTests | 7 ++++++- .github/workflows/backend-test.yml | 14 ++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/DockerfileBackendTests b/.github/DockerfileBackendTests index 639e269c5c..979d2112dc 100644 --- a/.github/DockerfileBackendTests +++ b/.github/DockerfileBackendTests @@ -1,4 +1,8 @@ -FROM ubuntu +ARG RUST_IMAGE=rust:1.80-slim-bookworm +ARG PYTHON_IMAGE=python:3.11.4-slim-bookworm + + +FROM ${RUST_IMAGE} as builder RUN apt-get update && apt-get install -y git libssl-dev pkg-config @@ -48,5 +52,6 @@ RUN unzip deno.zip && rm deno.zip && mv deno /usr/bin/deno RUN apt-get update \ && apt-get install -y postgresql-client --allow-unauthenticated +RUN rustup component add rustfmt COPY --from=bitnami/dotnet-sdk:9.0.101-debian-12-r0 /opt/bitnami/dotnet-sdk /opt/dotnet-sdk RUN ln -s /opt/dotnet-sdk/bin/dotnet /usr/bin/dotnet diff --git a/.github/workflows/backend-test.yml b/.github/workflows/backend-test.yml index 18c3ae5231..c8881f2eff 100644 --- a/.github/workflows/backend-test.yml +++ b/.github/workflows/backend-test.yml @@ -20,8 +20,6 @@ defaults: jobs: cargo_test: runs-on: ubicloud-standard-30 - container: - image: ghcr.io/windmill-labs/backend-tests services: postgres: image: postgres @@ -37,6 +35,18 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: "9.0.x" + - uses: denoland/setup-deno@v2 + with: + deno-version: v2.x + - uses: actions/setup-go@v2 + with: + go-version: 1.18.x + - uses: actions/setup-python@v2 + with: + python-version: 3.11 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: 1.1.38 - uses: actions-rust-lang/setup-rust-toolchain@v1 with: cache-workspaces: backend