Skip to content

Commit a7739d0

Browse files
committed
Check readme in pipeline
1 parent 4623930 commit a7739d0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/rust.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
13+
readme:
14+
runs-on: ubuntu-latest
15+
16+
defaults:
17+
run:
18+
working-directory: ./hyperloop
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: actions-rs/install@v0.1
23+
with:
24+
crate: cargo-readme
25+
version: latest
26+
use-tool-cache: true
27+
- name: Readme
28+
run: cargo readme > ../README.md && git diff --exit-code
29+
1330
format:
1431
runs-on: ubuntu-latest
1532

0 commit comments

Comments
 (0)