Skip to content

Commit 8c2ceb2

Browse files
committed
docs: improve try-it.sh
1 parent 3aa7320 commit 8c2ceb2

File tree

11 files changed

+91
-87
lines changed

11 files changed

+91
-87
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ env:
1515
RUST_BACKTRACE: 1
1616
RUSTFLAGS: "-D warnings"
1717
RUSTDOCFLAGS: '--deny warnings'
18-
MINIMUM_SUPPORTED_RUST_VERSION: 1.80.1
18+
MINIMUM_SUPPORTED_RUST_VERSION: 1.85.0
1919

2020
concurrency:
2121
group: ${{ github.workflow }}-${{ github.ref }}
2222
cancel-in-progress: true
2323

2424
jobs:
2525

26-
check-each-package:
26+
check:
2727
name: Check ${{ matrix.package }}
2828
runs-on: ubuntu-latest
2929
strategy:
@@ -34,6 +34,7 @@ jobs:
3434
- "yozefu-command"
3535
- "yozefu-tui"
3636
- "yozefu-wasm-types"
37+
- "yozefu"
3738
steps:
3839
- uses: actions/checkout@v4
3940
- uses: actions-rust-lang/setup-rust-toolchain@v1
@@ -43,18 +44,6 @@ jobs:
4344
- name: Run cargo check
4445
run: cargo check --locked --release --package ${{ matrix.package }}
4546

46-
check:
47-
runs-on: ubuntu-latest
48-
needs: [check-each-package]
49-
steps:
50-
- uses: actions/checkout@v4
51-
- uses: actions-rust-lang/setup-rust-toolchain@v1
52-
with:
53-
toolchain: stable
54-
- uses: Swatinem/rust-cache@v2
55-
- name: Run cargo check
56-
run: cargo check --all-features --locked --release --all
57-
5847
build:
5948
name: Build w/o features
6049
needs: check
@@ -103,20 +92,11 @@ jobs:
10392

10493
steps:
10594
- uses: actions/checkout@v4
106-
#- name: Install libclang-dev
107-
# if: matrix.platforms.target == 'aarch64-unknown-linux-gnu'
108-
# run: |
109-
# sudo apt-get install -y libclang-16-dev
11095
- uses: houseabsolute/actions-rust-cross@v1
111-
# if: (github.event.pull_request.base.ref == 'main' && matrix.platforms.os == 'macos-latest-large') == false
11296
with:
11397
target: ${{ matrix.platforms.target }}
11498
args: "--locked ${{ matrix.platforms.features }}"
11599
strip: true
116-
env:
117-
KRB5_CV_ATTR_CONSTRUCTOR_DESTRUCTOR: yes
118-
AC_CV_FUNC_REGCOMP: yes
119-
AC_CV_PRINTF_POSITIONAL: yes
120100

121101
clippy:
122102
needs: check
@@ -134,7 +114,7 @@ jobs:
134114

135115
license:
136116
needs: check
137-
name: Clippy
117+
name: License
138118
runs-on: ubuntu-latest
139119
steps:
140120
- uses: actions/checkout@v4

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
RUST_BACKTRACE: 1
1414
RUSTFLAGS: "-D warnings"
1515
RUSTDOCFLAGS: '--deny warnings'
16-
MINIMUM_SUPPORTED_RUST_VERSION: 1.80.1
16+
MINIMUM_SUPPORTED_RUST_VERSION: 1.85.0
1717

1818
concurrency:
1919
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/developer-experience.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
RUST_BACKTRACE: 1
66
RUSTFLAGS: "-D warnings"
77
RUSTDOCFLAGS: '--deny warnings'
8-
MINIMUM_SUPPORTED_RUST_VERSION: 1.80.1
8+
MINIMUM_SUPPORTED_RUST_VERSION: 1.85.0
99
GOLANG_VERSION: 1.23.3
1010
JS_VERSION: 22
1111

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
RUST_BACKTRACE: 1
66
RUSTFLAGS: "-D warnings"
77
RUSTDOCFLAGS: '--deny warnings'
8-
MINIMUM_SUPPORTED_RUST_VERSION: 1.80.1
8+
MINIMUM_SUPPORTED_RUST_VERSION: 1.85.0
99
DOCKER_REGISTRY: ghcr.io
1010

1111
permissions:
@@ -73,9 +73,9 @@ jobs:
7373
- os: ubuntu-latest
7474
target: x86_64-unknown-linux-gnu
7575
features: ""
76-
- os: ubuntu-latest
76+
- os: ubuntu-24.04-arm
7777
target: aarch64-unknown-linux-gnu
78-
features: "--no-default-features --features ssl-vendored"
78+
features: ""
7979
- os: windows-latest
8080
target: x86_64-pc-windows-gnu
8181
features: "--no-default-features"

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
RUST_BACKTRACE: 1
66
RUSTFLAGS: "-D warnings"
77
RUSTDOCFLAGS: '--deny warnings'
8-
MINIMUM_SUPPORTED_RUST_VERSION: 1.80.1
8+
MINIMUM_SUPPORTED_RUST_VERSION: 1.85.0
99

1010
on:
1111
schedule:

.github/workflows/semver-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
RUST_BACKTRACE: 1
66
RUSTFLAGS: "-D warnings"
77
RUSTDOCFLAGS: '--deny warnings'
8-
MINIMUM_SUPPORTED_RUST_VERSION: 1.80.1
8+
MINIMUM_SUPPORTED_RUST_VERSION: 1.85.0
99

1010
permissions:
1111
packages: write

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
RUST_BACKTRACE: 1
66
RUSTFLAGS: "-D warnings"
77
RUSTDOCFLAGS: '--deny warnings'
8-
MINIMUM_SUPPORTED_RUST_VERSION: 1.80.1
8+
MINIMUM_SUPPORTED_RUST_VERSION: 1.85.0
99

1010
permissions:
1111
contents: write

Cargo.lock

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

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ RUN --mount=type=bind,source=crates,target=crates \
77
--mount=type=cache,target=/usr/local/cargo/registry/ \
88
<<EOF
99
set -e
10-
apt-get update && apt-get install --no-install-recommends -y build-essential cmake libzstd-dev libclang-dev libsasl2-dev libssl-dev pkg-config
10+
apt-get update && apt-get install --no-install-recommends -y build-essential cmake
1111
cargo build --release --all-features --locked
1212
cp ./target/release/yozf /tmp/yozf
1313
EOF
1414

1515

16-
1716
FROM debian:bookworm-slim AS final
1817
ARG UID=10001
1918
RUN adduser \

crates/command/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ rdkafka = { version = "0.37.0", features = [
3939
"cmake-build",
4040
"libz-static",
4141
"curl-static",
42+
"zstd",
43+
"external-lz4"
4244
] }
4345
extism = { version = "1.10.0" }
4446
indexmap = "2.8.0"

0 commit comments

Comments
 (0)