feat!: move to timestamps in response models #3317
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SDK Size | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| # Needed for the same reason as in check-pr.yml, and specifically for this initiative: moving the | |
| # i18n runtime out of `lib/` changes both numbers in the migration guide's size table, and this | |
| # workflow is what measures them. | |
| - V10 | |
| env: | |
| HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| sdk_size: | |
| name: Metrics | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Connect Bot | |
| uses: webfactory/ssh-agent@v0.10.0 | |
| with: | |
| ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }} | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/ruby-cache | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| cache: 'yarn' | |
| - name: Run SDK Size Metrics | |
| run: bundle exec fastlane show_frameworks_sizes update_readme:$UPDATE_README open_pr:$UPDATE_README | |
| working-directory: examples/SampleApp | |
| timeout-minutes: 60 | |
| env: | |
| GITHUB_PR_NUM: ${{ github.event.pull_request.number }} | |
| MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
| APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }} | |
| GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} | |
| UPDATE_README: ${{ github.ref == 'refs/heads/main' }} |