Skip to content

Commit

Permalink
Merge remote-tracking branch 'original/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Phosphorus-M committed May 25, 2024
2 parents 6d8db88 + 85442a6 commit 2d97908
Show file tree
Hide file tree
Showing 342 changed files with 5,359 additions and 1,325 deletions.
File renamed without changes.
31 changes: 29 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- name: Install Rust
run: |
rustup set profile minimal
rustup toolchain install 1.67 -c rust-docs
rustup default 1.67
rustup toolchain install 1.78 -c rust-docs
rustup default 1.78
- name: Install mdbook
run: |
mkdir bin
Expand All @@ -27,6 +27,29 @@ jobs:
mdbook --version
- name: Run tests
run: mdbook test
package_tests:
name: Run package tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Update rustup
run: rustup self update
- name: Install Rust
run: |
rustup set profile minimal
rustup toolchain install 1.76 -c rust-docs
rustup default 1.76
- name: Run `tools` package tests
run: |
cargo test
- name: Run `mdbook-trpl-note` package tests
working-directory: packages/mdbook-trpl-note
run: |
cargo test
- name: Run `mdbook-trpl-listing` package tests
working-directory: packages/mdbook-trpl-listing
run: |
cargo test
lint:
name: Run lints
runs-on: ubuntu-latest
Expand All @@ -44,6 +67,10 @@ jobs:
mkdir bin
curl -sSL https://github.com/RustLangES/mdBook/releases/download/v0.4.36-localization-v0.4/mdbook-v0.4.36-localization-v0.4-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
echo "$(pwd)/bin" >> ${GITHUB_PATH}
- name: Install mdbook-trpl-note
run: cargo install --path packages/mdbook-trpl-note
- name: Install mdbook-trpl-listing
run: cargo install --path packages/mdbook-trpl-listing
- name: Install aspell
run: sudo apt-get install aspell aspell-es aspell-en
- name: Install shellcheck
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ a new language! We're waiting on [mdbook support] for multiple languages
before we merge any in, but feel free to start!

[Translations]: https://github.com/rust-lang/book/issues?q=is%3Aopen+is%3Aissue+label%3ATranslations
[mdbook support]: https://github.com/rust-lang-nursery/mdBook/issues/5
[mdbook support]: https://github.com/rust-lang/mdBook/issues/5
Loading

0 comments on commit 2d97908

Please sign in to comment.