mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-23 06:12:00 +01:00
Add a CI task that checks formatting
This commit is contained in:
parent
66ab368582
commit
67bd395df5
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -47,6 +47,16 @@ jobs:
|
||||
- name: Analyze dart
|
||||
run: dartanalyzer --fatal-warnings ./
|
||||
|
||||
format:
|
||||
name: Code formatting
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: dart-lang/setup-dart@v1
|
||||
- run: dart format --fix .
|
||||
- run: git diff --exit-code
|
||||
|
||||
deploy_github_linux:
|
||||
name: "Deploy Github: Linux"
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user