Merge pull request #8 from esp-idf-lib/desc #15
This file contains hidden or 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: Verify README.md is up-to-date | |
| on: | |
| push: | |
| jobs: | |
| verify-readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.2" | |
| bundler-cache: true | |
| - name: Generate README.md and make a diff | |
| run: | | |
| bundle exec rake readme > README.md.new | |
| diff -u README.md README.md.new | |
| if [ $? -ne 0 ]; then | |
| exit 1 | |
| fi |