Merge remote-tracking branch 'origin/develop' into vale-linting
# Conflicts: # docusaurus/docs/Flutter/05-guides/05-push-notifications/adding_push_notifications_v2.mdx # packages/stream_chat_flutter/CHANGELOG.md
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
name: Dart Code Metrics
|
||||
|
||||
env:
|
||||
flutter_version: "3.3.3"
|
||||
flutter_version: "3.7.0"
|
||||
folders: "lib, test"
|
||||
melos_version: "2.7.1"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -12,62 +11,61 @@ on:
|
||||
- master
|
||||
- develop
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: dart-code-metrics
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Git Checkout"
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: "Cache Flutter dependencies"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /opt/hostedtoolcache/flutter
|
||||
key: ${{ env.flutter_version }}-flutter
|
||||
|
||||
- name: "Install Flutter"
|
||||
uses: subosito/flutter-action@v1
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
cache: true
|
||||
flutter-version: ${{ env.flutter_version }}
|
||||
|
||||
- name: "Install Tools"
|
||||
run: flutter pub global activate melos ${{ env.melos_version }}
|
||||
run: flutter pub global activate melos
|
||||
- name: "Bootstrap Workspace"
|
||||
run: melos bootstrap
|
||||
|
||||
- name: "Stream Chat Metrics"
|
||||
uses: dart-code-checker/dart-code-metrics-action@v2.0.0
|
||||
uses: dart-code-checker/dart-code-metrics-action@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
relative_path: 'packages/stream_chat'
|
||||
folders: ${{ env.folders }}
|
||||
|
||||
- name: "Stream Chat Flutter Core Metrics"
|
||||
uses: dart-code-checker/dart-code-metrics-action@v2.0.0
|
||||
uses: dart-code-checker/dart-code-metrics-action@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
relative_path: 'packages/stream_chat_flutter_core'
|
||||
folders: ${{ env.folders }}
|
||||
|
||||
- name: "Stream Chat Flutter Metrics"
|
||||
uses: dart-code-checker/dart-code-metrics-action@v2.0.0
|
||||
uses: dart-code-checker/dart-code-metrics-action@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
relative_path: 'packages/stream_chat_flutter'
|
||||
folders: ${{ env.folders }}
|
||||
|
||||
- name: "Stream Chat Localizations Metrics"
|
||||
uses: dart-code-checker/dart-code-metrics-action@v2.0.0
|
||||
uses: dart-code-checker/dart-code-metrics-action@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
relative_path: 'packages/stream_chat_localizations'
|
||||
folders: ${{ env.folders }}
|
||||
|
||||
- name: "Stream Chat Persistence Metrics"
|
||||
uses: dart-code-checker/dart-code-metrics-action@v2.0.0
|
||||
uses: dart-code-checker/dart-code-metrics-action@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
relative_path: 'packages/stream_chat_persistence'
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
push_docusaurus:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: push
|
||||
uses: GetStream/push-stream-chat-docusaurus-action@main
|
||||
with:
|
||||
|
||||
@@ -14,12 +14,16 @@ on:
|
||||
- master
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
stream_chat:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: axel-op/dart-package-analyzer@v3
|
||||
id: analysis
|
||||
with:
|
||||
@@ -39,7 +43,7 @@ jobs:
|
||||
stream_chat_persistence:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: axel-op/dart-package-analyzer@v3
|
||||
id: analysis
|
||||
with:
|
||||
@@ -60,7 +64,7 @@ jobs:
|
||||
stream_chat_flutter_core:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: axel-op/dart-package-analyzer@v3
|
||||
id: analysis
|
||||
with:
|
||||
@@ -80,7 +84,7 @@ jobs:
|
||||
stream_chat_flutter:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: axel-op/dart-package-analyzer@v3
|
||||
id: analysis
|
||||
with:
|
||||
|
||||
@@ -7,6 +7,10 @@ on:
|
||||
- synchronize
|
||||
branches:
|
||||
- develop
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
conventional_pr_title:
|
||||
|
||||
@@ -2,8 +2,7 @@ name: stream_flutter_workflow
|
||||
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
||||
flutter_version: "3.3.3"
|
||||
melos_version: "2.7.1"
|
||||
flutter_version: "3.7.0"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -12,6 +11,10 @@ on:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
@@ -20,21 +23,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Git Checkout"
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Cache Flutter dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /opt/hostedtoolcache/flutter
|
||||
key: ${{ env.flutter_version }}-flutter
|
||||
- name: "Install Flutter"
|
||||
uses: subosito/flutter-action@v1
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
cache: true
|
||||
flutter-version: ${{ env.flutter_version }}
|
||||
- name: "Install Tools"
|
||||
run: |
|
||||
flutter pub global activate melos ${{ env.melos_version }}
|
||||
flutter pub global activate melos
|
||||
- name: "Bootstrap Workspace"
|
||||
run: melos bootstrap --verbose
|
||||
- name: "Dart Analyze"
|
||||
@@ -51,21 +50,17 @@ jobs:
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: "Git Checkout"
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Cache Flutter dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /opt/hostedtoolcache/flutter
|
||||
key: ${{ env.flutter_version }}-flutter
|
||||
- name: "Install Flutter"
|
||||
uses: subosito/flutter-action@v1
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
cache: true
|
||||
flutter-version: ${{ env.flutter_version }}
|
||||
- name: "Install Tools"
|
||||
run: |
|
||||
flutter pub global activate melos ${{ env.melos_version }}
|
||||
flutter pub global activate melos
|
||||
- name: "Bootstrap Workspace"
|
||||
run: melos bootstrap
|
||||
- name: "Melos Format"
|
||||
@@ -75,26 +70,22 @@ jobs:
|
||||
./.github/workflows/scripts/validate-formatting.sh
|
||||
|
||||
test:
|
||||
runs-on: macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.draft == false
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: "Git Checkout"
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Cache Flutter dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /Users/runner/hostedtoolcache/flutter
|
||||
key: ${{ env.flutter_version }}-flutter
|
||||
- name: "Install Flutter"
|
||||
uses: subosito/flutter-action@v1
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
cache: true
|
||||
flutter-version: ${{ env.flutter_version }}
|
||||
- name: "Install Tools"
|
||||
run: |
|
||||
flutter pub global activate melos ${{ env.melos_version }}
|
||||
flutter pub global activate melos
|
||||
flutter pub global activate remove_from_coverage
|
||||
- name: "Bootstrap Workspace"
|
||||
run: melos bootstrap
|
||||
|
||||
Reference in New Issue
Block a user