Skip to content

Commit

Permalink
Lock mdbook and mdbook-svgbob version numbers (google#398)
Browse files Browse the repository at this point in the history
This will help avoid breakage[1] when mdbook and mdbook-svgbob are out
of sync with each other.

[1]: boozook/mdbook-svgbob#25.
  • Loading branch information
mgeisler authored and NoahDragon committed Jul 11, 2023
1 parent 98dbfb3 commit 26f2261
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/install-mdbook/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26f2261

Please sign in to comment.