Conversation
Co-authored-by: Jimmy Chen <jimmy@sigmaprime.io>
.github/workflows/book.yml
Outdated
| build-and-upload-to-s3: | ||
| if: github.repository_owner == 'sigp' | ||
| runs-on: ubuntu-20.04 | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
Do we want to use latest? New releases might break CI.
There was a problem hiding this comment.
Pinning a version might also break CI, as seen here. I feel like latest will break less as we update mdbook automatically as well.
So I guess it makes sense to either update all CI images automatically or all manually. The latter creates way more work over time I think. IMO its better to let it do its thing and fix it if it breaks.
There was a problem hiding this comment.
It shouldn't break if a version is specified, see here https://github.com/jontze/action-mdbook?tab=readme-ov-file#fast-setup
There was a problem hiding this comment.
FYI - https://github.blog/changelog/2024-11-05-notice-of-breaking-changes-for-github-actions/
IMO having latest is living dangerously. I mean we all need a bit more excitement in our lives.
|
Switched to pinned versions for the base image, mdbook, mermaid and linkcheck |
Thanks. It's also possible to use ~0.4.44 and get patch releases. |
Decided against that, as the update that caused this issue was a patch release: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0444 |
True, semantic version allows breaking changes in any version when the major is zero https://semver.org/#spec-item-4 |
Fix build of mdbook running on updates to unstable.
rudely stolen from:
sigp/lighthouse#6891