Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.319.0 to 1.321.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ruby/setup-ruby/releases">ruby/setup-ruby's releases</a>.</em></p> <blockquote> <h2>v1.321.0</h2> <h2>What's Changed</h2> <ul> <li>Add jruby-10.1.1.0 by <a href="https://github.com/ruby-builder-bot"><code>@ruby-builder-bot</code></a> in <a href="https://redirect.github.com/ruby/setup-ruby/pull/932">ruby/setup-ruby#932</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ruby/setup-ruby/compare/v1.320.0...v1.321.0">https://github.com/ruby/setup-ruby/compare/v1.320.0...v1.321.0</a></p> <h2>v1.320.0</h2> <h2>What's Changed</h2> <ul> <li>Update CRuby releases on Windows by <a href="https://github.com/ruby-builder-bot"><code>@ruby-builder-bot</code></a> in <a href="https://redirect.github.com/ruby/setup-ruby/pull/931">ruby/setup-ruby#931</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ruby/setup-ruby/compare/v1.319.0...v1.320.0">https://github.com/ruby/setup-ruby/compare/v1.319.0...v1.320.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ruby/setup-ruby/commit/95ef2b042f9d7a56d8268cba8559e2842e2ad01b"><code>95ef2b0</code></a> Add jruby-10.1.1.0</li> <li><a href="https://github.com/ruby/setup-ruby/commit/a30dfa457ad68707b8b910ac3a244714b61c0626"><code>a30dfa4</code></a> Update CRuby releases on Windows</li> <li>See full diff in <a href="https://github.com/ruby/setup-ruby/compare/003a5c4d8d6321bd302e38f6f0ec593f77f06600...95ef2b042f9d7a56d8268cba8559e2842e2ad01b">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
89 lines
2.7 KiB
YAML
89 lines
2.7 KiB
YAML
name: App Store Readiness
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [master]
|
|
paths:
|
|
- "fastlane/**"
|
|
- "ios/**"
|
|
- "scripts/mobile/**"
|
|
- "tests/node/app-store-connect.test.mjs"
|
|
- ".github/workflows/app-store-readiness.yml"
|
|
- "Gemfile*"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: app-store-readiness-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
validate:
|
|
name: App Store Readiness
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 15
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: Setup Ruby
|
|
uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1
|
|
with:
|
|
ruby-version: "3.3"
|
|
|
|
- name: Resolve the pinned Fastlane dependency graph
|
|
run: bundle lock
|
|
|
|
- name: Check the committed Fastlane dependency lock
|
|
id: fastlane-lock
|
|
continue-on-error: true
|
|
run: test -z "$(git status --porcelain -- Gemfile.lock)"
|
|
|
|
- name: Preserve a generated lock for review
|
|
if: steps.fastlane-lock.outcome == 'failure'
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
with:
|
|
name: generated-fastlane-lock
|
|
path: Gemfile.lock
|
|
if-no-files-found: error
|
|
retention-days: 1
|
|
|
|
- name: Require a current committed Fastlane dependency lock
|
|
if: steps.fastlane-lock.outcome == 'failure'
|
|
run: |
|
|
echo 'Gemfile.lock is missing or stale. Download generated-fastlane-lock and commit it.' >&2
|
|
exit 1
|
|
|
|
- name: Install the pinned Fastlane dependency graph
|
|
run: bundle install --jobs 4 --retry 3
|
|
|
|
- name: Validate strict App Store metadata and candidate assets
|
|
run: node scripts/mobile/validate-app-store.mjs --strict
|
|
|
|
- name: Validate native mobile permissions
|
|
run: node scripts/mobile/check-permissions.mjs
|
|
|
|
- name: Test App Store Connect automation
|
|
run: node --test tests/node/app-store-connect.test.mjs
|
|
|
|
- name: Validate Fastlane configuration
|
|
run: bundle exec fastlane lanes
|
|
|
|
- name: Validate JavaScript syntax
|
|
run: |
|
|
node --check scripts/mobile/validate-app-store.mjs
|
|
node --check scripts/mobile/app-store-connect.mjs
|
|
node --check scripts/mobile/create-ios-release-manifest.mjs
|
|
node --check tests/node/app-store-connect.test.mjs
|
|
node scripts/mobile/app-store-connect.mjs self-test-jwt
|