Skip to content

Commit 992edbe

Browse files
committed
Normalize line endings
1 parent 70b4f09 commit 992edbe

15 files changed

Lines changed: 2207 additions & 2207 deletions

File tree

.github/workflows/dart.yml

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
1-
name: Dart
2-
3-
on: [push, pull_request]
4-
5-
jobs:
6-
build:
7-
runs-on: ubuntu-24.04
8-
continue-on-error: true
9-
strategy:
10-
matrix:
11-
projects: [app, api, plugin, server, tools]
12-
defaults:
13-
run:
14-
working-directory: ${{ matrix.projects }}
15-
steps:
16-
- name: ⬆️ Checkout
17-
uses: actions/checkout@v7
18-
- uses: subosito/flutter-action@v2.23.0
19-
with:
20-
flutter-version-file: app/pubspec.yaml
21-
cache: true
22-
- uses: actions/checkout@v7
23-
- name: Print Dart SDK version
24-
run: |
25-
dart --version
26-
flutter --version
27-
- name: Run generate
28-
working-directory: ./
29-
run: |
30-
cd tools
31-
dart pub get
32-
cd ..
33-
dart run tools/generate.dart
34-
- name: Install dependencies
35-
run: |
36-
flutter pub get
37-
- name: Run flutter gen-l10n
38-
if: matrix.projects == 'app'
39-
run: |
40-
flutter gen-l10n
41-
dart format lib/src/generated
42-
# Uncomment this step to verify the use of 'dart format' on each commit.
43-
- name: Verify formatting
44-
run: dart format --output=none --set-exit-if-changed .
45-
# Consider passing '--fatal-infos' for slightly stricter analysis.
46-
- name: Analyze project source
47-
run: |
48-
flutter analyze --fatal-infos
49-
- name: Build flutter_rust_bridge bindings
50-
if: matrix.projects == 'plugin'
51-
run: |
52-
cargo install flutter_rust_bridge_codegen@2.12.0 --locked
53-
flutter_rust_bridge_codegen generate
54-
- name: Run build_runner
55-
if: matrix.projects == 'api' || matrix.projects == 'app'
56-
run: dart run build_runner build --delete-conflicting-outputs
57-
- name: Run format for generated files
58-
run: dart format .
59-
- name: Run cargo fmt for Rust code
60-
if: matrix.projects == 'plugin'
61-
run: |
62-
cd rust
63-
cargo fmt --all
64-
- name: Test for git changes
65-
run: git diff --exit-code
66-
# Your project will need to have tests in test/ and a dependency on
67-
# package:test for this step to succeed. Note that Flutter projects will
68-
# want to change this to 'flutter test'.
69-
# - name: Run tests
70-
# run: flutter test
1+
name: Dart
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-24.04
8+
continue-on-error: true
9+
strategy:
10+
matrix:
11+
projects: [app, api, plugin, server, tools]
12+
defaults:
13+
run:
14+
working-directory: ${{ matrix.projects }}
15+
steps:
16+
- name: ⬆️ Checkout
17+
uses: actions/checkout@v7
18+
- uses: subosito/flutter-action@v2.23.0
19+
with:
20+
flutter-version-file: app/pubspec.yaml
21+
cache: true
22+
- uses: actions/checkout@v7
23+
- name: Print Dart SDK version
24+
run: |
25+
dart --version
26+
flutter --version
27+
- name: Run generate
28+
working-directory: ./
29+
run: |
30+
cd tools
31+
dart pub get
32+
cd ..
33+
dart run tools/generate.dart
34+
- name: Install dependencies
35+
run: |
36+
flutter pub get
37+
- name: Run flutter gen-l10n
38+
if: matrix.projects == 'app'
39+
run: |
40+
flutter gen-l10n
41+
dart format lib/src/generated
42+
# Uncomment this step to verify the use of 'dart format' on each commit.
43+
- name: Verify formatting
44+
run: dart format --output=none --set-exit-if-changed .
45+
# Consider passing '--fatal-infos' for slightly stricter analysis.
46+
- name: Analyze project source
47+
run: |
48+
flutter analyze --fatal-infos
49+
- name: Build flutter_rust_bridge bindings
50+
if: matrix.projects == 'plugin'
51+
run: |
52+
cargo install flutter_rust_bridge_codegen@2.12.0 --locked
53+
flutter_rust_bridge_codegen generate
54+
- name: Run build_runner
55+
if: matrix.projects == 'api' || matrix.projects == 'app'
56+
run: dart run build_runner build --delete-conflicting-outputs
57+
- name: Run format for generated files
58+
run: dart format .
59+
- name: Run cargo fmt for Rust code
60+
if: matrix.projects == 'plugin'
61+
run: |
62+
cd rust
63+
cargo fmt --all
64+
- name: Test for git changes
65+
run: git diff --exit-code
66+
# Your project will need to have tests in test/ and a dependency on
67+
# package:test for this step to succeed. Note that Flutter projects will
68+
# want to change this to 'flutter test'.
69+
# - name: Run tests
70+
# run: flutter test

0 commit comments

Comments
 (0)