Skip to content
Closed
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/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@v3
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: subosito/flutter-action@v2
Expand Down
35 changes: 26 additions & 9 deletions .github/workflows/pana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,52 @@ permissions:

jobs:
stream_core:
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@v4
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_core
min_score: 120 # Missing 10 points for no example, 10 points for no license, 10 points for static analysis issues, and 10 points for outdated dependencies (cross_file 0.4.0 requires Flutter).

stream_core_flutter:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
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_core_flutter
min_score: 110 # Missing 10 points for no license, 10 points for no example, 20 points for static analysis issues (including the path dependency on stream_core that the pana action sets up), and 10 points for outdated dependencies (shimmer 4.0.0).

stream_thumbnail:
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
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
30 changes: 20 additions & 10 deletions .github/workflows/stream_core_flutter_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,21 @@ permissions:
jobs:
analyze:
timeout-minutes: 15
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
env:
IS_CI: 'true'
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@v6
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: subosito/flutter-action@v2
Expand Down Expand Up @@ -66,8 +72,7 @@ jobs:
test:
needs: analyze
timeout-minutes: 15
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
Expand All @@ -77,9 +82,14 @@ jobs:
IS_CI: 'true'
steps:
- name: Git Checkout
uses: actions/checkout@v6
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: subosito/flutter-action@v2
Expand Down
38 changes: 29 additions & 9 deletions .github/workflows/stream_thumbnail_native_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,22 @@ permissions:
jobs:
android:
timeout-minutes: 20
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/stream_thumbnail/example
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@v6
working-directory: ${{ github.workspace }}
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: Bootstrap Workspace
uses: ./.github/actions/bootstrap
Expand Down Expand Up @@ -106,14 +114,20 @@ jobs:

linux:
timeout-minutes: 20
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/stream_thumbnail/example
steps:
- name: Git Checkout
uses: actions/checkout@v6
working-directory: ${{ github.workspace }}
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 Linux Build Dependencies
run: |
Expand All @@ -130,14 +144,20 @@ jobs:

web:
timeout-minutes: 20
runs-on:
group: github-public-amd64
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/stream_thumbnail/example
steps:
- name: Git Checkout
uses: actions/checkout@v6
working-directory: ${{ github.workspace }}
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: Bootstrap Workspace
uses: ./.github/actions/bootstrap
Expand Down
Loading