Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/beta_version_analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ jobs:
# Does a sanity check on packages for the next beta version so we are not surprised by any breaking changes.
analyze_beta_versions:
timeout-minutes: 15
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: "Git Checkout"
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: "Install Flutter"
uses: ./.github/actions/setup-flutter
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/check_db_entities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,19 @@ jobs:
check_entity_modifications:
needs: gate
if: needs.gate.outputs.should_run == 'true'
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: 📥 Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: 🔎 Check DB Entity Changes
id: check_entities
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/e2e_test_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,19 @@ jobs:
# Saves the AVD with a quick-boot snapshot for the e2e_test.yml batches. Here, because a cache
# saved by a pull request is visible to that pull request alone, and one saved on master to all.
android_avd:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: Git Checkout
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- uses: ./.github/actions/enable-kvm

Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/legacy_version_analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,19 @@ jobs:
needs: gate
if: needs.gate.outputs.should_run == 'true'
timeout-minutes: 15
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: "Git Checkout"
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: "Install Flutter"
uses: ./.github/actions/setup-flutter
Expand Down
57 changes: 42 additions & 15 deletions .github/workflows/pana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,59 +18,86 @@ permissions:

jobs:
stream_chat:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
working_directory: packages/stream_chat
min_score: 100

stream_chat_persistence:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
working_directory: packages/stream_chat_persistence
min_score: 100

stream_chat_flutter_core:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
working_directory: packages/stream_chat_flutter_core
min_score: 100

stream_chat_flutter:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
working_directory: packages/stream_chat_flutter
min_score: 100

stream_chat_localizations:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/sdk_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,18 @@ jobs:
measure-android:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
timeout-minutes: 60
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

# Android lint needs Java 21 or newer; the runner image defaults to 17.
- name: Set up Java
Expand Down
69 changes: 46 additions & 23 deletions .github/workflows/stream_flutter_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,20 @@ jobs:
analyze:
needs: gate
if: needs.gate.outputs.should_run == 'true'
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
# Anonymous checkout: the org IP allow list refuses only signed-in requests, and this job
# makes no other GitHub call, so it runs on a free standard runner.
- name: 📚 Git Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: 🐦 Install Flutter
uses: ./.github/actions/setup-flutter
Expand All @@ -89,14 +95,18 @@ jobs:
format:
needs: gate
if: needs.gate.outputs.should_run == 'true'
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: 🐦 Install Flutter
uses: ./.github/actions/setup-flutter
Expand All @@ -118,16 +128,20 @@ jobs:
select-packages:
needs: gate
if: needs.gate.outputs.should_run == 'true'
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
packages: ${{ steps.select.outputs.packages }}
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: 🐦 Install Flutter
uses: ./.github/actions/setup-flutter
Expand Down Expand Up @@ -182,8 +196,7 @@ jobs:
name: test (${{ matrix.package }})
needs: select-packages
if: needs.select-packages.outputs.packages != '[]'
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
Expand All @@ -195,7 +208,13 @@ jobs:
include: ${{ fromJSON(needs.select-packages.outputs.packages) }}
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
run: |
git init -q .
git fetch -q --depth=1 --no-tags "https://github.com/$REPOSITORY" "$SHA"
git checkout -q FETCH_HEAD
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: 🐦 Install Flutter
uses: ./.github/actions/setup-flutter
Expand Down Expand Up @@ -249,8 +268,7 @@ jobs:
name: build (${{ matrix.platform }})
needs: gate
if: needs.gate.outputs.should_run == 'true' && github.event_name == 'pull_request'
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
Expand All @@ -265,9 +283,14 @@ jobs:
# build-command: bundle exec fastlane build_ipa no_codesign:true
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
run: |
git init -q .
git remote add origin "https://github.com/$REPOSITORY"
git fetch -q origin '+refs/heads/*:refs/remotes/origin/*' '+refs/tags/*:refs/tags/*' "$SHA"
git checkout -q --detach "$SHA"
env:
REPOSITORY: ${{ github.repository }}
SHA: ${{ github.sha }}

- name: 🐦 Install Flutter
uses: ./.github/actions/setup-flutter
Expand Down