ci: use java

This commit is contained in:
Alexander Medvedev 2026-07-30 20:53:57 +02:00
parent f347ddfdab
commit fd1051fa71
2 changed files with 47 additions and 32 deletions

View File

@ -78,6 +78,11 @@ jobs:
with:
name: patchbukkit-jar
path: java/patchbukkit/build/libs/
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: "25"
distribution: "temurin"
- name: Sync Pumpkin dependencies
run: cargo update -p pumpkin -p pumpkin-api-macros -p pumpkin-data -p pumpkin-protocol -p pumpkin-util
working-directory: rust
@ -103,6 +108,11 @@ jobs:
with:
name: patchbukkit-jar
path: java/patchbukkit/build/libs/
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: "25"
distribution: "temurin"
- name: Sync Pumpkin dependencies
run: cargo update -p pumpkin -p pumpkin-api-macros -p pumpkin-data -p pumpkin-protocol -p pumpkin-util
working-directory: rust
@ -135,6 +145,11 @@ jobs:
with:
name: patchbukkit-jar
path: java/patchbukkit/build/libs/
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: "25"
distribution: "temurin"
- name: Sync Pumpkin dependencies
run: cargo update -p pumpkin -p pumpkin-api-macros -p pumpkin-data -p pumpkin-protocol -p pumpkin-util
working-directory: rust

64
rust/Cargo.lock generated
View File

@ -19,9 +19,9 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
[[package]]
name = "aes"
version = "0.9.1"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1fc76eaeac4c9164506c466d4ffdd8ec9d0c5bf57ee97177c4d8eceb3a0e138"
checksum = "f8eb277bec05f56a0e0591f155a484cbd0f4f07ff2905051a48c72f004f7ed58"
dependencies = [
"cipher",
"cpubits",
@ -152,9 +152,9 @@ checksum = "7d902e3d592a523def97af8f317b08ce16b7ab854c1985a0c671e6f15cebc236"
[[package]]
name = "async-compression"
version = "0.4.42"
version = "0.4.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e79b3f8a79cccc2898f31920fc69f304859b3bd567490f75ebf51ae1c792a9ac"
checksum = "3976abdc8fe7d1133d43d304afd42abdf5bc3e1319d263d223bde07b5efc4be8"
dependencies = [
"compression-codecs",
"compression-core",
@ -965,13 +965,13 @@ dependencies = [
[[package]]
name = "displaydoc"
version = "0.2.6"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.119",
"syn 3.0.3",
]
[[package]]
@ -1501,9 +1501,9 @@ dependencies = [
[[package]]
name = "http"
version = "1.4.2"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
dependencies = [
"bytes",
"itoa",
@ -2380,7 +2380,7 @@ dependencies = [
"serde-saphyr",
"serde_json",
"tokio",
"toml 1.1.3+spec-1.1.0",
"toml 1.1.4+spec-1.1.0",
"tracing",
"uuid",
"walkdir",
@ -2773,7 +2773,7 @@ dependencies = [
[[package]]
name = "pumpkin"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"arc-swap",
"base64 0.23.0",
@ -2831,7 +2831,7 @@ dependencies = [
[[package]]
name = "pumpkin-api-macros"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"proc-macro-error2",
"proc-macro2",
@ -2842,7 +2842,7 @@ dependencies = [
[[package]]
name = "pumpkin-codecs"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"serde_json",
"tracing",
@ -2851,11 +2851,11 @@ dependencies = [
[[package]]
name = "pumpkin-config"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"pumpkin-util",
"serde",
"toml 1.1.3+spec-1.1.0",
"toml 1.1.4+spec-1.1.0",
"tracing",
"uuid",
]
@ -2863,7 +2863,7 @@ dependencies = [
[[package]]
name = "pumpkin-data"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"crc-fast",
"phf",
@ -2876,7 +2876,7 @@ dependencies = [
[[package]]
name = "pumpkin-inventory"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"pumpkin-data",
"pumpkin-protocol",
@ -2891,7 +2891,7 @@ dependencies = [
[[package]]
name = "pumpkin-macros"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"heck",
"proc-macro-error2",
@ -2903,7 +2903,7 @@ dependencies = [
[[package]]
name = "pumpkin-nbt"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"bytes",
"cesu8",
@ -2918,7 +2918,7 @@ dependencies = [
[[package]]
name = "pumpkin-protocol"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"aes",
"async-compression",
@ -2943,7 +2943,7 @@ dependencies = [
[[package]]
name = "pumpkin-util"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"base64 0.23.0",
"bytes",
@ -2970,7 +2970,7 @@ dependencies = [
[[package]]
name = "pumpkin-world"
version = "0.1.0-dev+26.2"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#ac89bff1caea0a6c728e67212811a06914ea9dbe"
source = "git+https://github.com/Pumpkin-MC/Pumpkin.git?branch=master#2577cfa3c934f497669f3dd4b54d3192252e0a0b"
dependencies = [
"arc-swap",
"bitflags 2.13.1",
@ -3044,7 +3044,7 @@ dependencies = [
[[package]]
name = "rand"
version = "0.10.2"
source = "git+https://github.com/rust-random/rand#486da4477ff88444c2bcce303ba74630354333f1"
source = "git+https://github.com/rust-random/rand#cf4f73e3953ffcf97f575317a07f0fd5983bfe9e"
dependencies = [
"chacha20",
"getrandom 0.4.3",
@ -3286,9 +3286,9 @@ dependencies = [
[[package]]
name = "rustls"
version = "0.23.42"
version = "0.23.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c54fcab019b409d04215d3a17cb438fd7fbf192ee61461f20f4fe18704bc138"
checksum = "0283386ce02abc0151e1761d08802dfe86c173b0b494af5cbc086574e453da06"
dependencies = [
"log",
"once_cell",
@ -3831,13 +3831,13 @@ dependencies = [
[[package]]
name = "tokio-macros"
version = "2.7.1"
version = "2.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6328af13490e73a9b4694030fafd93f8c8c6a9dede33e821c3fc63eddf8042ba"
checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.119",
"syn 3.0.3",
]
[[package]]
@ -3882,9 +3882,9 @@ dependencies = [
[[package]]
name = "toml"
version = "1.1.3+spec-1.1.0"
version = "1.1.4+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "53c96ecdfa941c8fc4fcaed14f99ada8ebed502eef533015095a07e3301d4c3c"
checksum = "3aace63f4bbcdfc2c965b059de67119c89c4017a70d633be6c104910f67056f5"
dependencies = [
"indexmap",
"serde_core",
@ -3915,9 +3915,9 @@ dependencies = [
[[package]]
name = "toml_parser"
version = "1.1.2+spec-1.1.0"
version = "1.1.3+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526"
checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56"
dependencies = [
"winnow 1.0.4",
]