update: PR reviews fixes #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Task - Linters | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run prettier | |
run: |- | |
npx prettier --check . | |
markdown-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: avto-dev/markdown-lint@v1 | |
with: | |
config: "./.markdownlint.json" | |
args: "." | |
ignore: "./target" | |
toml-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout toml files | |
uses: actions/checkout@v3 | |
- name: Run toml check | |
run: npx @taplo/cli fmt --config ./taplo/taplo.toml --check |