Move CI tests for collect-metadata to clippy_bors.yml

This commit is contained in:
Tyler Weaver 2023-01-14 07:38:29 -07:00
parent 7d1609dce3
commit dc5ce488e7
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -157,6 +157,11 @@ jobs:
- name: Test metadata collection - name: Test metadata collection
run: cargo collect-metadata run: cargo collect-metadata
- name: Test lint_configuration.md is up-to-date
run: |
echo "run \`cargo collect-metadata\` if this fails"
git update-index --refresh
integration_build: integration_build:
needs: changelog needs: changelog
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -33,9 +33,6 @@ jobs:
echo `pwd`/mdbook >> $GITHUB_PATH echo `pwd`/mdbook >> $GITHUB_PATH
# Run # Run
- name: cargo collect-metadata
run: cargo collect-metadata
- name: Check *.md files - name: Check *.md files
run: git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null run: git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null