Skip to content

Commit

Permalink
ci[rust,python]: Improve fmt_all workflow (#4798)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Sep 10, 2022
1 parent 9671416 commit da03af2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 27 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/fmt_all.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/lint-global.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint global

on:
pull_request:
paths:
- '**.toml' # This workflow currently only lints TOML files
- '.github/workflows/lint-global.yaml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dprint/check@v2.1
9 changes: 5 additions & 4 deletions dprint.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"incremental": true,
"toml": {
},
"includes": ["**/*.{toml}"],
"toml": {},
"includes": [
"**/*.{toml}"
],
"excludes": [],
"plugins": [
"https://plugins.dprint.dev/toml-0.5.3.wasm"
"https://plugins.dprint.dev/toml-0.5.4.wasm"
]
}

0 comments on commit da03af2

Please sign in to comment.