Skip to content

Commit

Permalink
Merge pull request #56 from Flagsmith/fix/cd
Browse files Browse the repository at this point in the history
fix(ci/cd): pin flutter version disable score
  • Loading branch information
gagantrivedi authored Jun 26, 2023
2 parents 1860e5e + 37dcc1f commit c0a40ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/publish_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,16 @@ jobs:
analyze:
runs-on: ubuntu-latest
name: Dart Analyze

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '2.x'
channel: 'any'
- run: flutter pub get
- run: flutter analyze
score:
runs-on: ubuntu-latest
name: Dart package score

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

publishing:
runs-on: ubuntu-latest
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,7 @@ jobs:
- run: flutter pub get
- run: flutter pub test

score:
runs-on: ubuntu-latest
name: Dart package score

steps:
- uses: actions/checkout@v3
- uses: axel-op/dart-package-analyzer@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
# TODO https://github.com/Flagsmith/flagsmith-flutter-client/issues/57

publishing:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c0a40ef

Please sign in to comment.