Skip to content

Commit 8acf697

Browse files
author
benni-tec
committed
Merge branch 'main' into #69-dart-sdk
# Conflicts: # packages/tiled/pubspec.yaml # packages/tiled/test/parser_test.dart
2 parents 82a2b34 + 581391c commit 8acf697

33 files changed

+90
-58
lines changed

.github/workflows/cicd.yaml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,38 @@ jobs:
1818
channel: 'stable'
1919
- uses: flame-engine/flame-dartdoc-action@v2
2020

21-
format:
21+
analyze:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v2
25-
- uses: subosito/flutter-action@v1
24+
- uses: actions/checkout@v3
25+
- uses: subosito/flutter-action@v2
26+
- uses: bluefireteam/melos-action@v3
27+
- name: "Analyze with latest stable"
28+
uses: invertase/github-action-dart-analyzer@v2.0.0
2629
with:
27-
channel: 'stable'
28-
- uses: flame-engine/flame-format-action@v1
30+
fatal-infos: true
2931

30-
analyze:
32+
format:
3133
runs-on: ubuntu-latest
3234
steps:
33-
- uses: actions/checkout@v2
34-
- uses: subosito/flutter-action@v1
35+
- uses: actions/checkout@v3
36+
- uses: subosito/flutter-action@v2
3537
with:
36-
channel: 'stable'
37-
- uses: flame-engine/flame-analyze-action@v2
38+
cache: true
39+
- uses: bluefireteam/melos-action@v3
40+
- name: Run format
41+
run: melos format-check
3842
# END LINTING STAGE
3943

4044
# BEGIN TESTING STAGE
4145
test:
42-
needs: [dartdoc, format, analyze]
4346
runs-on: ubuntu-latest
4447
steps:
45-
- uses: actions/checkout@v2
46-
- uses: subosito/flutter-action@v1
48+
- uses: actions/checkout@v3
49+
- uses: subosito/flutter-action@v2
4750
with:
48-
channel: 'stable'
49-
- uses: flame-engine/flame-test-action@v1
51+
cache: true
52+
- uses: bluefireteam/melos-action@v3
53+
- name: Run tests
54+
run: melos test
5055
# END TESTING STAGE

melos.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ scripts:
2929
description: Run `flutter analyze` for all packages.
3030

3131
format:
32-
run: melos exec flutter format . --fix
33-
description: Run `flutter format` for all packages.
32+
run: melos exec dart format . --fix
33+
description: Run `dart format` for all packages.
3434

3535
format-check:
36-
run: melos exec flutter format . --set-exit-if-changed
37-
description: Run `flutter format` checks for all packages.
36+
run: melos exec dart format . --set-exit-if-changed
37+
description: Run `dart format` checks for all packages.
3838

3939
dartdoc:
4040
run: melos exec flutter pub run dartdoc

packages/tiled/LICENSE

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The MIT License (MIT)
1+
MIT License
22

3-
Copyright (c) <year> <copyright holders>
3+
Copyright (c) 2021 Blue Fire
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,14 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99
copies of the Software, and to permit persons to whom the Software is
1010
furnished to do so, subject to the following conditions:
1111

12-
The above copyright notice and this permission notice shall be included in
13-
all copies or substantial portions of the Software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

packages/tiled/lib/src/chunk.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
part of tiled;
1+
part of '../tiled.dart';
22

33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:

packages/tiled/lib/src/common/enums.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
part of tiled;
1+
part of '../../tiled.dart';
22

33
enum MapOrientation { orthogonal, isometric, staggered, hexagonal }
44

packages/tiled/lib/src/common/flips.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
part of tiled;
1+
part of '../../tiled.dart';
22

33
class Flips {
44
final bool horizontally;

packages/tiled/lib/src/common/frame.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
part of tiled;
1+
part of '../../tiled.dart';
22

33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:

packages/tiled/lib/src/common/gid.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
part of tiled;
1+
part of '../../tiled.dart';
22

33
/// A [Gid], Global Tile ID is a Tiled concept to represent the tiles inside
44
/// int matrices. This wrapper is used by [Layer] and [Chunk] to provide

packages/tiled/lib/src/common/point.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
part of tiled;
1+
part of '../../tiled.dart';
22

33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:

packages/tiled/lib/src/common/property.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
part of tiled;
1+
part of '../../tiled.dart';
22

33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:

0 commit comments

Comments
 (0)