forked from mozilla/neqo
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (28 loc) · 952 Bytes
/
readme.yml
File metadata and controls
32 lines (28 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Check README.md
on:
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
readme:
name: Check README.md
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: mozilla/actions/rust@27cbe8fb5d338c2861b787e5de10410559065db1 # v1.1.3
with:
tools: cargo-readme
token: ${{ secrets.GITHUB_TOKEN }}
- run: |
cd mtu # Only works for this crate currently.
# TODO: cargo-readme doesn't support workspaces: https://github.com/webern/cargo-readme/issues/81
# Leaving this here so we remember to fix it later.
# cargo readme -o /tmp/README.md
# diff -u README.md /tmp/README.md