Skip to content

Commit 862a4f8

Browse files
committed
ci: Add a check for formatting
1 parent d83ae23 commit 862a4f8

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/main.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,19 @@ jobs:
2121
- name: Install Rust
2222
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
2323
- run: cargo test
24+
25+
doc_fmt:
26+
name: Document and check formatting
27+
runs-on: ubuntu-24.04
28+
steps:
29+
- uses: actions/checkout@master
30+
- name: Install Rust
31+
run: rustup update nightly && rustup default nightly
2432
- run: cargo doc
33+
- run: cargo fmt --check
2534

2635
msrv:
27-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-24.04
2837
steps:
2938
- uses: actions/checkout@master
3039
- name: Install Rust

0 commit comments

Comments
 (0)