This commit is contained in:
Ruben Fiszel
2024-12-17 15:44:19 +01:00
parent ad81499f8d
commit c6e06da611
2 changed files with 18 additions and 3 deletions
+6 -1
View File
@@ -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
+12 -2
View File
@@ -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