Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,5 @@ jobs:
- uses: actions/checkout@v6
- uses: jdx/mise-action@v3
- run: mise run docs:format-spellcheck-dictionary-check
- run: yarn --immutable
- run: yarn typecheck
- run: yarn spellcheck
- run: yarn format-check
- run: mise run docs:lint
- run: yarn build
1 change: 1 addition & 0 deletions .github/workflows/rpc-parity-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
df -h
- uses: jdx/mise-action@v3
- run: mise add_conformance_report
- run: mise run docs:format
# This is needed in order to have the commits signed.
- uses: actions/create-github-app-token@v2
id: generate-token
Expand Down
22 changes: 20 additions & 2 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ depends = ["lint:deny", "lint:spellcheck", "lint:rust-fmt", "lint:clippy", "lint
[tasks."lint:yaml"]
description = "Lint YAML files."
run = '''
corepack enable && yarn && yarn install
yarn && yarn install
yarn yaml-check
'''

Expand All @@ -116,12 +116,30 @@ description = "Format all supported code."
run = '''
cargo fmt --all
taplo fmt
corepack enable && yarn && yarn install
yarn && yarn install
yarn md-fmt
yarn yaml-fmt
'''
alias = "fmt"

[tasks."docs:format"]
description = "Format documentation files."
dir = "docs"
run = '''
yarn --immutable
yarn format
'''

[tasks."docs:lint"]
description = "Lint documentation files."
dir = "docs"
run = '''
yarn --immutable
yarn typecheck
yarn spellcheck
yarn format-check
'''

[tasks.clean]
description = "Cleanup all build artifacts and dependencies."
run = '''
Expand Down
Loading