Skip to content

Commit 52f015a

Browse files
committed
[DB] Pin the rustls Quaint connector and drop CLI OpenSSL
1 parent 102e11b commit 52f015a

4 files changed

Lines changed: 541 additions & 35 deletions

File tree

‎.github/workflows/compatibility.yaml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
features: postgresql,mocking
1818
- target: x86_64-unknown-linux-gnu
1919
runner: namespace-profile-gitar
20-
features: postgresql,mocking,vendored-openssl
20+
features: postgresql,mocking
2121
- target: aarch64-unknown-linux-gnu
2222
runner: namespace-profile-gitar
23-
features: postgresql,mocking,vendored-openssl
23+
features: postgresql,mocking
2424
runs-on: ${{ matrix.runner }}
2525
steps:
2626
- uses: namespacelabs/nscloud-checkout-action@v8
@@ -42,6 +42,13 @@ jobs:
4242
- name: Build portable Linux binary
4343
if: matrix.target != 'aarch64-apple-darwin'
4444
run: cargo zigbuild --locked --release -p prisma-cli --features ${{ matrix.features }} --target ${{ matrix.target }}.2.28
45+
- name: Verify the CLI dependency tree uses rustls
46+
shell: bash
47+
run: |
48+
cargo tree --locked -p prisma-cli --features postgresql,mocking --target ${{ matrix.target }} -e normal,build --prefix none > /tmp/prisma-dependencies.txt
49+
if grep -E '^(native-tls|openssl|openssl-sys|postgres-native-tls) v' /tmp/prisma-dependencies.txt; then
50+
exit 1
51+
fi
4552
- name: Package binary and source revision
4653
env:
4754
TARGET: ${{ matrix.target }}

0 commit comments

Comments
 (0)