Skip to content

Commit c0a40ef

Browse files
authored
Merge pull request #56 from Flagsmith/fix/cd
fix(ci/cd): pin flutter version disable score
2 parents 1860e5e + 37dcc1f commit c0a40ef

2 files changed

Lines changed: 6 additions & 19 deletions

File tree

.github/workflows/publish_master.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,16 @@ jobs:
88
analyze:
99
runs-on: ubuntu-latest
1010
name: Dart Analyze
11-
1211
steps:
13-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1413
- uses: subosito/flutter-action@v2
14+
with:
15+
flutter-version: '2.x'
16+
channel: 'any'
1517
- run: flutter pub get
1618
- run: flutter analyze
17-
score:
18-
runs-on: ubuntu-latest
19-
name: Dart package score
2019

21-
steps:
22-
- uses: actions/checkout@v2
23-
- uses: axel-op/dart-package-analyzer@v3
24-
with:
25-
githubToken: ${{ secrets.GITHUB_TOKEN }}
20+
# TODO https://github.com/Flagsmith/flagsmith-flutter-client/issues/57
2621

2722
publishing:
2823
runs-on: ubuntu-latest

.github/workflows/pull-request.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,7 @@ jobs:
3636
- run: flutter pub get
3737
- run: flutter pub test
3838

39-
score:
40-
runs-on: ubuntu-latest
41-
name: Dart package score
42-
43-
steps:
44-
- uses: actions/checkout@v3
45-
- uses: axel-op/dart-package-analyzer@v3
46-
with:
47-
githubToken: ${{ secrets.GITHUB_TOKEN }}
39+
# TODO https://github.com/Flagsmith/flagsmith-flutter-client/issues/57
4840

4941
publishing:
5042
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)