mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-01-11 00:48:08 -05:00
Use mdformat for markdown formatting (#4244)
* Replace skip footnote with html block * Remove unnecessary duration columns * Add mdformat to pyproject * Start to use mdformat-toc * Remove table of contents headers * Fix empty header * Finally, run mdformat * Remove doctoc from CI * Fix issue with eip7732 * Error if linter changes something in CI
This commit is contained in:
11
.github/workflows/run-tests.yml
vendored
11
.github/workflows/run-tests.yml
vendored
@@ -29,20 +29,15 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: ''
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
|
||||
with:
|
||||
python-version: '3.12.4'
|
||||
cache: ''
|
||||
- name: Install doctoc
|
||||
run: npm install -g doctoc@2.2.0
|
||||
- name: Run linter for pyspec
|
||||
run: make lint
|
||||
run: |
|
||||
make lint
|
||||
git diff --exit-code
|
||||
|
||||
whitespace:
|
||||
runs-on: [self-hosted-ghr-custom, size-l-x64, profile-consensusSpecs]
|
||||
|
||||
Reference in New Issue
Block a user