Skip to content

Commit

Permalink
Added check for multiple openssl and native-tls packages
Browse files Browse the repository at this point in the history
  • Loading branch information
myOmikron committed Jul 24, 2024
1 parent 4558edb commit bf04304
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Check for multiple openssl versions
run: |
if test "$(grep "name = \"openssl\"" Cargo.lock | wc -l)" -gt 1;
return 1
end
if test "$(grep "name = \"native-tls\"" Cargo.lock | wc -l)" -gt 1;
return 1
end
- name: Install dependencies
run: |
rustup component add clippy
Expand Down

0 comments on commit bf04304

Please sign in to comment.