Skip to content

Commit 35a2593

Browse files
committed
Trying a few things
1 parent e42e6bc commit 35a2593

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/buildandtest.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,14 @@ jobs:
7676
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
7777
hash -r
7878
79-
# Install Swift (required for SwiftLint)
80-
swiftly install latest
79+
# Install Swift 5.10 (compatible with SwiftLint 0.61.0)
80+
swiftly install 5.10
8181
swift --version
8282
8383
sudo apt-get -y install libcurl4-openssl-dev
8484
8585
# Export Swift toolchain path for SwiftLint's SourceKit
86-
SWIFT_PATH=$(dirname $(dirname $(which swift)))
87-
echo "LINUX_SOURCEKIT_LIB_PATH=${SWIFT_PATH}/lib/swift/linux" >> $GITHUB_ENV
86+
echo "LINUX_SOURCEKIT_LIB_PATH=${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/toolchains/5.10/usr/lib/swift/linux" >> $GITHUB_ENV
8887
8988
- name: Lint
9089
run: |

.github/workflows/native-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,20 @@ jobs:
4444
- name: Install SDK JS Dependencies
4545
run: yarn install
4646

47+
- name: Setup Ruby
48+
run: |
49+
# Disable rbenv to avoid .ruby-version conflicts
50+
echo 'export PATH="/usr/local/bin:$PATH"' >> $GITHUB_ENV
51+
export RBENV_VERSION=system
52+
echo "RBENV_VERSION=system" >> $GITHUB_ENV
53+
4754
- uses: ruby/setup-ruby@v1
4855
with:
4956
ruby-version: '3.3.0'
5057

58+
- name: Install CocoaPods
59+
run: gem install cocoapods
60+
5161
- name: Install App Pods
5262
working-directory: packages/core/RNSentryCocoaTester
5363
run: pod install

0 commit comments

Comments
 (0)