feat: Add taplo CI #5
Workflow file for this run
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: Taplo formatting and linting | |
on: | |
[push, pull_request] | |
jobs: | |
lint: | |
name: Lint Cargo.toml | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: uncenter/setup-taplo@v1.0.8 | |
- run: taplo lint --verbose | |
fmt: | |
name: Format Cargo.toml | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: uncenter/setup-taplo@v1.0.8 | |
- run: taplo format --check --verbose |