Skip to content

Commit dc5ce48

Browse files
committed
Move CI tests for collect-metadata to clippy_bors.yml
1 parent 7d1609d commit dc5ce48

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/clippy_bors.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ jobs:
157157
- name: Test metadata collection
158158
run: cargo collect-metadata
159159

160+
- name: Test lint_configuration.md is up-to-date
161+
run: |
162+
echo "run \`cargo collect-metadata\` if this fails"
163+
git update-index --refresh
164+
160165
integration_build:
161166
needs: changelog
162167
runs-on: ubuntu-latest

.github/workflows/remark.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ jobs:
3333
echo `pwd`/mdbook >> $GITHUB_PATH
3434
3535
# Run
36-
- name: cargo collect-metadata
37-
run: cargo collect-metadata
38-
3936
- name: Check *.md files
4037
run: git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
4138

0 commit comments

Comments
 (0)