Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit a56447b

Browse files
authored
ensure no openssl (#397)
* replace openssl with rustls for hyper * add CI check no openssl dependency
1 parent f3e838c commit a56447b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/rust.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,28 @@ jobs:
119119
- name: Run functional tests
120120
run: make test
121121

122+
check-openssl:
123+
runs-on: ubuntu-latest
124+
name: Check that we don't depend on openssl
125+
steps:
126+
- name: Install minimal stable toolchain with clippy and rustfmt
127+
uses: actions-rs/toolchain@v1
128+
with:
129+
profile: minimal
130+
toolchain: stable
131+
override: true
132+
- name: Install Protoc
133+
uses: arduino/setup-protoc@v1
134+
with:
135+
repo-token: ${{ secrets.GITHUB_TOKEN }}
136+
- name: Checkout
137+
uses: actions/checkout@v3
138+
with:
139+
submodules: recursive
140+
- name: Test openssl
141+
shell: bash {0}
142+
run: cargo tree -p sqld -i openssl; [ $? = 101 ]
143+
122144
docker:
123145
runs-on: ubuntu-latest
124146
name: Build Docker

0 commit comments

Comments
 (0)