Skip to content

Commit 29eac76

Browse files
authored
fix: bunch of changes cross language (#2395)
1 parent 1d6e35a commit 29eac76

File tree

13 files changed

+213
-118
lines changed

13 files changed

+213
-118
lines changed

.github/workflows/runtime-kotlin-testing.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
- name: Check package-lock version
2020
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
2121
id: lockversion
2222
- name: Setup Node.js
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
2525
node-version: "${{ steps.lockversion.outputs.version }}"
2626
cache: 'npm'
2727
cache-dependency-path: '**/package-lock.json'
2828
- name: Build library
2929
run: npm install && npm run build:prod
3030
- name: Setup Java
31-
uses: actions/setup-java@v2
31+
uses: actions/setup-java@v4
3232
with:
33-
distribution: 'adopt'
33+
distribution: 'temurin'
3434
java-version: '11'
3535
- name: Generate Kotlin models
3636
run: npm run generate:runtime:kotlin

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:16.0.1-jdk-slim-buster
1+
FROM eclipse-temurin:21-jdk-bookworm
22

33
# Install updates
44
RUN apt-get update -yq \
@@ -12,33 +12,34 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
1212
&& apt-get install -yq nodejs
1313

1414
# Install golang
15-
RUN curl -fsSL https://golang.org/dl/go1.16.8.linux-amd64.tar.gz | tar -C /usr/local -xz
15+
ARG TARGETARCH
16+
RUN curl -fsSL "https://go.dev/dl/go1.22.4.linux-${TARGETARCH}.tar.gz" | tar -C /usr/local -xz
1617
ENV PATH="${PATH}:/usr/local/go/bin"
1718

1819
# Install dotnet SDK
1920
RUN apt install apt-transport-https dirmngr gnupg ca-certificates -yq \
2021
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
21-
&& echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list \
22+
&& echo "deb https://download.mono-project.com/repo/debian stable-bookworm main" | tee /etc/apt/sources.list.d/mono-official-stable.list \
2223
&& apt update -yq \
2324
&& apt install mono-devel -yq
2425

2526
# Install rust
2627
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2728

2829
# Install Python
29-
RUN apt-get install -yq python
30+
RUN apt-get install -yq python3
3031

3132
# Install Kotlin
3233
RUN apt install -yq wget unzip \
3334
&& cd /usr/lib \
3435
&& wget -q https://github.com/JetBrains/kotlin/releases/download/v1.8.0/kotlin-compiler-1.8.0.zip \
3536
&& unzip -qq kotlin-compiler-*.zip
3637

37-
ENV PATH $PATH:/usr/lib/kotlinc/bin
38+
ENV PATH="${PATH}:/usr/lib/kotlinc/bin"
3839

3940
# Install PHP
4041
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \
41-
&& echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list \
42+
&& echo "deb https://packages.sury.org/php/ bookworm main" > /etc/apt/sources.list.d/php.list \
4243
&& apt-get update -yq \
4344
&& apt-get install -y php8.2
4445

package-lock.json

Lines changed: 0 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"dependencies": {
3838
"@apidevtools/json-schema-ref-parser": "^11.1.0",
3939
"@apidevtools/swagger-parser": "^10.1.0",
40-
"@asyncapi/modelina": "^5.10.1",
4140
"@asyncapi/multi-parser": "^2.2.0",
4241
"@asyncapi/parser": "^3.4.0",
4342
"alterschema": "^1.1.2",

0 commit comments

Comments
 (0)