mirror of
https://github.com/leptos-rs/book.git
synced 2025-12-27 07:35:38 -05:00
Minor: Updated from tls1.2 to tls1.3 (#167)
Why should we drop 1.2? "In TLS 1.2 and earlier versions, the use of ciphers with cryptographic weaknesses had posed potential security vulnerabilities" <https://www.a10networks.com/glossary/key-differences-between-tls-1-2-and-tls-1-3/>
This commit is contained in:
4
.github/workflows/publish_mdbook.yml
vendored
4
.github/workflows/publish_mdbook.yml
vendored
@@ -21,10 +21,8 @@ concurrency:
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
|
||||
# Job: Build and Deploy to Pages
|
||||
build-and-deploy:
|
||||
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
@@ -36,7 +34,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install mdBook
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
|
||||
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf -y | sh
|
||||
rustup update
|
||||
cargo install --version ${MDBOOK_VERSION} mdbook
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ RUN apk update && \
|
||||
|
||||
RUN npm install -g sass
|
||||
|
||||
RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/leptos-rs/cargo-leptos/releases/latest/download/cargo-leptos-installer.sh | sh
|
||||
RUN curl --proto '=https' --tlsv1.3 -LsSf https://github.com/leptos-rs/cargo-leptos/releases/latest/download/cargo-leptos-installer.sh | sh
|
||||
|
||||
# Add the WASM target
|
||||
RUN rustup target add wasm32-unknown-unknown
|
||||
|
||||
Reference in New Issue
Block a user