Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[alias]
xtask = "run --manifest-path=xtask/Cargo.toml --"
xtask = "run --package xtask --"
18 changes: 4 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ jobs:
rustc -Vv
mdbook --version
- name: Style checks
working-directory: style-check
run: cargo run --locked -- ../src
- name: Style fmt
working-directory: style-check
run: cargo xtask style-check
- name: Rustfmt check
run: cargo fmt --check
- name: Verify the book builds
env:
Expand Down Expand Up @@ -94,18 +92,10 @@ jobs:
run: |
rustup --version
rustc -Vv
- name: Verify mdbook-spec lockfile is current
working-directory: ./mdbook-spec
- name: Verify tools workspace lockfile is current
run: cargo update -p mdbook-spec --locked
- name: Test mdbook-spec
working-directory: ./mdbook-spec
- name: Test tools
run: cargo test
- name: Rustfmt check
working-directory: ./mdbook-spec
run: cargo fmt --check
- name: Xtask rustfmt check
working-directory: ./xtask
run: cargo fmt --check

preview:
if: github.event_name == 'pull_request'
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
book
stable-check/
/book
/target
Loading