chore: fork googleapis_auth (#1733)

This commit is contained in:
Bryan Oltman
2024-02-15 15:07:48 -05:00
committed by GitHub
parent 3a4200bab4
commit f29c489b0e
80 changed files with 6591 additions and 13 deletions
-6
View File
@@ -1,6 +0,0 @@
# Validate with:
# curl -X POST --data-binary @codecov.yml https://codecov.io/validate
# See https://docs.codecov.com/docs/flags
flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true
+44 -2
View File
@@ -21,6 +21,7 @@ jobs:
outputs:
needs_dart_build: ${{ steps.needs_dart_build.outputs.changes }}
needs_redis_build: ${{ steps.needs_redis_build.outputs.changes }}
needs_third_party_build: ${{ steps.needs_third_party_build.outputs.changes }}
needs_verify: ${{ steps.needs_verify.outputs.changes }}
name: 👀 Detect Changes
@@ -51,6 +52,7 @@ jobs:
- packages/shorebird_cli/**
- packages/shorebird_code_push_client/**
- packages/shorebird_code_push_protocol/**
- third_party/googleapis_auth/**
shorebird_code_push_client:
- ./.github/codecov.yml
- ./.github/workflows/main.yaml
@@ -84,6 +86,17 @@ jobs:
- ./.github/actions/dart_package/action.yaml
- packages/redis_client/**
- uses: dorny/paths-filter@v3
name: Redis Detection
id: needs_third_party_build
with:
filters: |
googleapis_auth:
- ./.github/codecov.yml
- ./.github/workflows/main.yaml
- ./.github/actions/dart_package/action.yaml
- third_party/googleapis_auth/**
- uses: dorny/paths-filter@v3
name: Verify Detection
id: needs_verify
@@ -121,7 +134,30 @@ jobs:
with:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
working_directory: packages/${{ matrix.package }}
min_coverage: 100
min_coverage: 99
build_third_party_packages:
needs: changes
if: ${{ needs.changes.outputs.needs_third_party_build != '[]' }}
strategy:
matrix:
package: ${{ fromJSON(needs.changes.outputs.needs_third_party_build) }}
runs-on: ubuntu-latest
name: 🎯 Build ${{ matrix.package }}
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🎯 Build ${{ matrix.package }}
uses: ./.github/actions/dart_package
with:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
working_directory: third_party/${{ matrix.package }}
min_coverage: 85
build_redis:
needs: changes
@@ -175,7 +211,13 @@ jobs:
ci:
needs:
[semantic_pull_request, build_dart_packages, build_redis, verify_packages]
[
semantic_pull_request,
build_dart_packages,
build_redis,
build_third_party_packages,
verify_packages,
]
if: ${{ always() }}
runs-on: ubuntu-latest