Skip to content

Commit 0aac023

Browse files
committed
Merge branch 'main' into tarrencev/megathink
2 parents afe4b09 + 6295a24 commit 0aac023

File tree

122 files changed

+3315
-2213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+3315
-2213
lines changed

.github/Dockerfile

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && \
2525
libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 \
2626
libxss1 libxtst6 lsb-release wget xdg-utils \
2727
# Additional tools
28-
gh libgmp3-dev software-properties-common curl git unzip bc \
28+
gh libgmp3-dev curl git unzip bc \
2929
debian-keyring debian-archive-keyring apt-transport-https \
3030
# LLVM dependencies
3131
llvm-19 llvm-19-dev llvm-19-runtime clang-19 clang-tools-19 \
@@ -117,9 +117,18 @@ ENV PATH="$ASDF_DATA_DIR/shims:$PATH"
117117
RUN asdf plugin add scarb && asdf install scarb 2.8.2 && asdf set scarb 2.8.2
118118

119119
# Install caddy
120-
RUN curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg && \
121-
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list && \
122-
apt update && apt install caddy && rm -rf /var/lib/apt/lists/*
120+
ARG TARGETPLATFORM
121+
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then \
122+
curl -L https://github.com/caddyserver/caddy/releases/download/v2.10.0/caddy_2.10.0_linux_arm64.tar.gz -o caddy.tar.gz && \
123+
tar -xzf caddy.tar.gz caddy && \
124+
mv caddy /usr/local/bin/ && \
125+
rm caddy.tar.gz; \
126+
elif [ "$TARGETPLATFORM" = "linux/amd64" ] ; then \
127+
curl -L https://github.com/caddyserver/caddy/releases/download/v2.10.0/caddy_2.10.0_linux_amd64.tar.gz -o caddy.tar.gz && \
128+
tar -xzf caddy.tar.gz caddy && \
129+
mv caddy /usr/local/bin/ && \
130+
rm caddy.tar.gz; \
131+
fi
123132

124133
# Set permissions
125134
RUN chown -R root:root /usr/local/cargo && chmod -R 700 /usr/local/cargo

.github/workflows/build-and-push-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ on:
1414
- ".github/Dockerfile"
1515

1616
env:
17-
RUST_VERSION: 1.86.0
18-
CLIPPY_VERSION: nightly-2025-02-20
17+
RUST_VERSION: 1.89.0
18+
CLIPPY_VERSION: nightly-2025-06-20
1919

2020
jobs:
2121
# Docker tag determination based on workflow trigger:

.github/workflows/dockerfile-build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- ".github/Dockerfile"
77

88
env:
9-
RUST_VERSION: 1.86.0
10-
CLIPPY_VERSION: nightly-2025-02-20
9+
RUST_VERSION: 1.89.0
10+
CLIPPY_VERSION: nightly-2025-06-20
1111

1212
jobs:
1313
build-dev-image:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ jobs:
344344
345345
db-compatibility-check:
346346
needs: [fmt, clippy, build-katana-binary]
347-
runs-on: ubuntu-latest
347+
runs-on: ubuntu-latest-4-cores
348348
container:
349349
image: ghcr.io/dojoengine/katana-dev:latest
350350
steps:

0 commit comments

Comments
 (0)