Skip to content

Commit

Permalink
feat: Add taplo CI
Browse files Browse the repository at this point in the history
`taplo lint` and `taplo format`, in that order, have been add on push
and pull request into any branch.
  • Loading branch information
aidan46 committed May 8, 2024
1 parent 5e1b643 commit 68460f4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/taplo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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/[email protected]

- run: taplo lint --verbose
fmt:
name: Format Cargo.toml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: uncenter/[email protected]

- run: taplo format --check --verbose

0 comments on commit 68460f4

Please sign in to comment.