Update repo #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check README | |
on: | |
pull_request: | |
branches: [ "*" ] | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
jobs: | |
check_readme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install cargo-hakari | |
uses: baptiste0928/cargo-install@v1 | |
with: | |
crate: cargo-readme | |
- name: Check that readme matches lib.rs | |
run: | | |
cp README.md README-copy.md | |
make readme | |
diff README.md README-copy.md |