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
32 changes: 32 additions & 0 deletions .github/homebrew-rnfb/Formula/applesimutils.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# frozen_string_literal: true
# RNFB CI vendored formula — do not install from third-party taps in workflows.
# Upstream: wix/homebrew-brew @ 8f636f84541e — AppleSimulatorUtils 0.9.12
# Update: see okf-bundle/ci-workflows/ios.md#pinned-homebrew-utilities

class Applesimutils < Formula
desc "Apple simulator utilities"
homepage "https://github.com/wix/AppleSimulatorUtils"
url "https://github.com/wix/AppleSimulatorUtils/releases/download/0.9.12/AppleSimulatorUtils-0.9.12.tar.gz"
sha256 "4d6d02311959388ff5c28e2f4781848dbe1ca07f34b1d81d273940e099020b09"

bottle do
root_url "https://github.com/wix/AppleSimulatorUtils/releases/download/0.9.12"

sha256 arm64_big_sur: "3373d85ea6051e77865b0a22960eb0b5d63f3126c7c99232d0b6b9c83ee2c133"
sha256 catalina: "530e29950dba6d11ca6da6841d24b84d835f8215836664d6e6ce8b23acce4a51"
sha256 mojave: "3373d85ea6051e77865b0a22960eb0b5d63f3126c7c99232d0b6b9c83ee2c133"
sha256 high_sierra: "3373d85ea6051e77865b0a22960eb0b5d63f3126c7c99232d0b6b9c83ee2c133"
sha256 sierra: "3373d85ea6051e77865b0a22960eb0b5d63f3126c7c99232d0b6b9c83ee2c133"
sha256 big_sur: "3373d85ea6051e77865b0a22960eb0b5d63f3126c7c99232d0b6b9c83ee2c133"
end

depends_on xcode: ["8.0", :build]

def install
system "./buildForBrew.sh", prefix
end

test do
system "#{bin}/applesimutils", "--help"
end
end
51 changes: 51 additions & 0 deletions .github/homebrew-rnfb/Formula/xcbeautify.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# frozen_string_literal: true
# RNFB CI vendored formula — do not install from live homebrew-core in workflows.
# Upstream: Homebrew/homebrew-core @ f2e343d17882 — xcbeautify 3.2.1
# Update: see okf-bundle/ci-workflows/ios.md#pinned-homebrew-utilities

class Xcbeautify < Formula
desc "Little beautifier tool for xcodebuild"
homepage "https://github.com/cpisciotta/xcbeautify"
url "https://github.com/cpisciotta/xcbeautify/archive/refs/tags/3.2.1.tar.gz"
sha256 "7575dcb90e4650f8d8f66b92ca2f3eaa5ad9feddda7bf3c63aeb0edca199aa80"
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, arm64_tahoe: "55d10b6b29942408802a3f7c141c8245b310054331c39be16f027f93867ad005"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "f1094ef28d3e6f734cc58b43201a7112218b2518ed5b47b0c4e3242071a90742"
sha256 cellar: :any, arm64_sonoma: "f65b81e0e1d354fc026fda8e4006579b99e764a5bee9cdb20343a432c902f84a"
sha256 cellar: :any, sonoma: "da329e9b36ffc742e9dcba04f9bc2d2dcb05e41ecb9d902b5ab016145a46ac2c"
sha256 cellar: :any_skip_relocation, arm64_linux: "0699fc7ed411b8e6875d2273dd230b83947a10f38471e59ff953a57283cb4c26"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1121ea99822c46089101d09aa4d43ad5679c5883f6c2212e712ba016db5a3ffe"
end

# needs Swift tools version 6.1.0
uses_from_macos "swift" => :build, since: :sequoia
uses_from_macos "libxml2"

on_sequoia do
# Workaround for https://github.com/apple/swift-argument-parser/issues/827
# Conditional should really be Swift >= 6.2 but not available so using
# a check on the specific ld version included with Xcode >= 26
depends_on xcode: :build if DevelopmentTools.ld64_version >= "1221.4"
end

def install
args = if OS.mac?
%w[--disable-sandbox]
else
%w[--static-swift-stdlib -Xswiftc -use-ld=ld]
end
system "swift", "build", *args, "--configuration", "release"
bin.install ".build/release/xcbeautify"
generate_completions_from_executable(bin/"xcbeautify", "--generate-completion-script")
end

test do
log = "CompileStoryboard /Users/admin/MyApp/MyApp/Main.storyboard (in target: MyApp)"
assert_match "[MyApp] Compiling Main.storyboard",
pipe_output("#{bin}/xcbeautify --disable-colored-output", log).chomp
assert_match version.to_s,
shell_output("#{bin}/xcbeautify --version").chomp
end
end
4 changes: 2 additions & 2 deletions .github/workflows/create_test_patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3

# Future ideas:
# - make into an action, parameterize directories to pack, and package names to install
# - name patches w/PR as "semver prerelease" and SHA as "semver build info". Needs patch-package enhancement.
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-api-reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
with:
fetch-depth: 0
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
with:
fetch-depth: 1
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
# https://github.com/actions/cache/releases
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/issue-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Add 'Needs Attention' label if OP responded and it was open
if: env.op_comment == 'true' && github.event.issue.state == 'open'
# https://github.com/actions-ecosystem/action-add-labels/releases
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1
uses: actions-ecosystem/action-add-labels@bd52874380e3909a1ac983768df6976535ece7d8 # v1.1.0
with:
labels: 'Needs Attention'
env:
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Remove 'blocked customer-response' label if OP responded and it was open
if: env.op_comment == 'true' && github.event.issue.state == 'open'
# https://github.com/actions-ecosystem/action-remove-labels/releases
uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1
uses: actions-ecosystem/action-remove-labels@f5dccab59b9ed79c1a5ddd2ab6d8771449b0250f # v1.3.0
with:
labels: 'blocked: customer-response'
env:
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Add comment if OP responded but issue was closed
if: env.op_comment == 'true' && github.event.issue.state == 'closed'
# https://github.com/actions-ecosystem/action-create-comment/releases
uses: actions-ecosystem/action-create-comment@e23bc59fbff7aac7f9044bd66c2dc0fe1286f80b # v1
uses: actions-ecosystem/action-create-comment@5b43c092bf96ebc715dbbe5682ecf3b771223855 # v1.0.0
with:
github_token: ${{ secrets.GH_TOKEN }}
body: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
with:
fetch-depth: 1
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
- name: Configure JDK
# https://github.com/actions/setup-java/releases
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 # v5.3.0
with:
distribution: 'temurin'
java-version: '21'
Expand Down Expand Up @@ -74,11 +74,11 @@ jobs:
timeout-minutes: 30
steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
with:
fetch-depth: 1
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
# https://github.com/actions/cache/releases
Expand Down Expand Up @@ -116,11 +116,11 @@ jobs:
timeout-minutes: 30
steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
with:
fetch-depth: 1
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
# https://github.com/actions/cache/releases
Expand Down Expand Up @@ -158,11 +158,11 @@ jobs:
timeout-minutes: 30
steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
with:
fetch-depth: 1
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
# https://github.com/actions/cache/releases
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
# https://github.com/amannn/action-semantic-pull-request/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
contents: read
steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
with:
fetch-depth: 0
# Repository admin required to evade PR+checks branch protection
token: ${{ secrets.GH_TOKEN }}
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rnfb-js-sdk-comparison.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:

steps:
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
with:
fetch-depth: 50
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
# https://github.com/actions/cache/releases
Expand Down
Loading
Loading