1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-05 16:10:31 +02:00

Lock mdbook and mdbook-svgbob version numbers (#398)

This will help avoid breakage[1] when mdbook and mdbook-svgbob are out
of sync with each other.

[1]: https://github.com/boozook/mdbook-svgbob/issues/25.
This commit is contained in:
Martin Geisler 2023-02-16 13:39:19 +01:00 committed by GitHub
parent bc2dbd0fd3
commit 5c03394b31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,12 +5,14 @@ description: Install the mdbook with the dependencies we need.
runs:
using: composite
steps:
# The --locked flag is important for reproducible builds. It also
# avoids breakage due to skews between mdbook and mdbook-svgbob.
- name: Install mdbook
run: cargo install mdbook --version 0.4.25
run: cargo install mdbook --locked --version 0.4.25
shell: bash
- name: Install mdbook-svgbob
run: cargo install mdbook-svgbob --version 0.2.1
run: cargo install mdbook-svgbob --locked --version 0.2.1
shell: bash
- name: Install i18n-helpers