Skip to content

Commit

Permalink
CI - Check if README is up to date
Browse files Browse the repository at this point in the history
Second attempt at checking if README is up to date in CI
  • Loading branch information
usbalbin committed Jun 23, 2024
1 parent d18400a commit 6f1001b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ jobs:
with:
command: check
args: --no-default-features

readme:
name: Readme
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install cargo-readme
run: cargo install cargo-readme
- name: Generate Readme for comparison
run: cargo readme > README_.md
- name: Check if readme is up to date
run: diff README.md README_.md

test:
name: Test Suite
Expand Down

0 comments on commit 6f1001b

Please sign in to comment.