Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/firebase_firestore.yaml
#	.github/workflows/firebase_performance.yaml
#	melos.yaml
#	packages/cloud_firestore_odm/cloud_firestore_odm/example/pubspec.yaml
#	packages/cloud_firestore_odm/cloud_firestore_odm_generator/lib/src/collection_data.dart
#	packages/cloud_firestore_odm/cloud_firestore_odm_generator/pubspec.yaml
#	packages/cloud_firestore_odm/cloud_firestore_odm_generator/pubspec_overrides.yaml
  • Loading branch information
ryanawhelan committed May 18, 2023
2 parents d8adcb5 + 12284b3 commit b0ef252
Show file tree
Hide file tree
Showing 1,245 changed files with 41,435 additions and 10,753 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Dependabot configuration file.
# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates

version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
81 changes: 65 additions & 16 deletions .github/workflows/all_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,32 @@ jobs:
timeout-minutes: 45
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d
with:
channel: 'master'
cache: true
- uses: bluefireteam/melos-action@v2
- uses: bluefireteam/melos-action@dd3c344d731938d2ab2567a261f54a19a68b5f6a
with:
melos-version: '3.0.1'
- name: 'Run Analyze'
run: melos run analyze

# Separated from "analyse" action as pubspec_override file is not being taken into account when running `flutter pub publish --dry-run`
# This will fail on CI until this is fixed: https://github.com/invertase/melos/issues/467
# You need to switch to Flutter 3.3.0, and run this test manually to check it works and update PR to confirm its success
pub_dry_run:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d
with:
channel: 'stable'
cache: true
- uses: bluefireteam/melos-action@dd3c344d731938d2ab2567a261f54a19a68b5f6a
with:
melos-version: '3.0.1'
- name: 'Pub Check'
run: |
melos exec -c 1 --no-private --ignore="*example*" -- \
Expand All @@ -40,12 +58,14 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d
with:
channel: 'master'
cache: true
- uses: bluefireteam/melos-action@v2
- uses: bluefireteam/melos-action@dd3c344d731938d2ab2567a261f54a19a68b5f6a
with:
melos-version: '3.0.1'
- name: 'Flutter Pub Get'
run: |
melos exec -c 1 --scope="*example*" -- \
Expand All @@ -55,12 +75,14 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d
with:
channel: 'master'
cache: true
- uses: bluefireteam/melos-action@v2
- uses: bluefireteam/melos-action@dd3c344d731938d2ab2567a261f54a19a68b5f6a
with:
melos-version: '3.0.1'
- uses: Homebrew/actions/setup-homebrew@master
- name: 'Install Tools'
run: |
Expand All @@ -86,28 +108,55 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d
with:
channel: 'master'
cache: true
- uses: bluefireteam/melos-action@v2
- uses: bluefireteam/melos-action@dd3c344d731938d2ab2567a261f54a19a68b5f6a
with:
melos-version: '3.0.1'
- name: 'Build Examples'
run: |
melos exec -c 1 --scope="*example*" --dir-exists="web" -- \
"flutter build web --no-pub"
"flutter build web"
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d
with:
channel: 'master'
cache: true
- uses: bluefireteam/melos-action@v2
- uses: bluefireteam/melos-action@dd3c344d731938d2ab2567a261f54a19a68b5f6a
with:
melos-version: '3.0.1'
- name: 'Flutter Test'
run: melos run test --no-select
- name: 'Flutter Test - Web'
run: melos run test:web --no-select

check-files-license-headers:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with:
go-version: '^1.13.1'
# Go is used by addlicense command (addlicense is used in melos run
# check-license-header)
- run: go install github.com/google/addlicense@latest
- name: Install Dart
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
- name: Install Melos
uses: bluefireteam/melos-action@dd3c344d731938d2ab2567a261f54a19a68b5f6a
with:
# Running `melos bootstrap` is not needed because we use Melos just
# for the `check-license-header` script.
run-bootstrap: false
melos-version: '3.0.1'
- name: Check license header
run: melos run check-license-header
Loading

0 comments on commit b0ef252

Please sign in to comment.