Skip to content

Commit eaed235

Browse files
committed
refactor: merge lint checking and code analysis jobs
1 parent 0ca8d35 commit eaed235

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/code_quality.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,8 @@ on:
1010
branches: ["main"]
1111

1212
jobs:
13-
lint:
14-
name: Check lints
15-
runs-on: ubuntu-latest
16-
17-
steps:
18-
- uses: actions/checkout@v4
19-
- uses: subosito/flutter-action@v2
20-
with:
21-
channel: "stable"
22-
- run: flutter --version
23-
24-
# Check for any formatting issues in the code.
25-
- name: Verify formatting
26-
run: dart format --set-exit-if-changed .
27-
28-
analyze:
29-
name: Check code analysis
13+
code_quality:
14+
name: Check source code quality
3015
runs-on: ubuntu-latest
3116
steps:
3217
- uses: actions/checkout@v4
@@ -42,3 +27,7 @@ jobs:
4227
# Statically analyze the Dart code for any errors.
4328
- name: Analyze project source
4429
run: flutter analyze .
30+
31+
# Check for any formatting issues in the code.
32+
- name: Verify formatting
33+
run: dart format --set-exit-if-changed .

0 commit comments

Comments
 (0)